summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-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"