summaryrefslogtreecommitdiff
path: root/system/cxref
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-02-20 06:54:31 -0600
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-02-20 12:59:55 -0600
commit629a7d075c06556ea8be7c0cb82d14d353695177 (patch)
tree2bd0b967c85031ff457101c00f81c48e34da8a16 /system/cxref
parentc30463643e0f18200197fa7fc700805eac4d020c (diff)
downloadpackages-629a7d075c06556ea8be7c0cb82d14d353695177.tar.gz
packages-629a7d075c06556ea8be7c0cb82d14d353695177.tar.bz2
packages-629a7d075c06556ea8be7c0cb82d14d353695177.tar.xz
packages-629a7d075c06556ea8be7c0cb82d14d353695177.zip
system/cxref: new package for POSIX
Diffstat (limited to 'system/cxref')
-rw-r--r--system/cxref/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/system/cxref/APKBUILD b/system/cxref/APKBUILD
new file mode 100644
index 000000000..c629279cb
--- /dev/null
+++ b/system/cxref/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=cxref
+pkgver=1.6e
+pkgrel=0
+pkgdesc="C cross-referencing & documentation tool"
+url="https://www.gedanken.org.uk/software/cxref/"
+arch="all"
+options="!check" # No tests
+license="GPL-2.0+ AND (GPL-3.0+ WITH Bison-exception-2.2) AND LGPL-2.0+"
+depends=""
+makedepends="byacc flex"
+subpackages="$pkgname-doc"
+source="https://www.gedanken.org.uk/software/cxref/download/cxref-$pkgver.tgz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="3cc713ed1dab3499c3cb95f9451f2100a90ee2bc86787db93395a977f5a95fa06a9682ae507bde498b326dc462e1f78688890960de64bf9bac48ca9149a70a55 cxref-1.6e.tgz"