summaryrefslogtreecommitdiff
path: root/system/cxref/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2019-02-21 16:55:36 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2019-02-21 16:55:36 +0000
commit32f7710f5d60074928ff5273b84b0d753f1d543b (patch)
tree2bd0b967c85031ff457101c00f81c48e34da8a16 /system/cxref/APKBUILD
parentc30463643e0f18200197fa7fc700805eac4d020c (diff)
parent629a7d075c06556ea8be7c0cb82d14d353695177 (diff)
downloadpackages-32f7710f5d60074928ff5273b84b0d753f1d543b.tar.gz
packages-32f7710f5d60074928ff5273b84b0d753f1d543b.tar.bz2
packages-32f7710f5d60074928ff5273b84b0d753f1d543b.tar.xz
packages-32f7710f5d60074928ff5273b84b0d753f1d543b.zip
Merge branch 'posix.harder' into 'master'
system/cxref: new package for POSIX See merge request !181
Diffstat (limited to 'system/cxref/APKBUILD')
-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"