summaryrefslogtreecommitdiff
path: root/user/pax/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-07-29 14:19:11 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-07-29 14:19:27 +0000
commitadc52feeb4242b7924d3d4a152cc32313e491b52 (patch)
treec1bd9ded62a92ea4ee8336a8b1093836e7d5f8d1 /user/pax/APKBUILD
parent05daed829b64f4f9626414af68e0a1c918ec6fa0 (diff)
downloadpackages-adc52feeb4242b7924d3d4a152cc32313e491b52.tar.gz
packages-adc52feeb4242b7924d3d4a152cc32313e491b52.tar.bz2
packages-adc52feeb4242b7924d3d4a152cc32313e491b52.tar.xz
packages-adc52feeb4242b7924d3d4a152cc32313e491b52.zip
user/pax: new package
Diffstat (limited to 'user/pax/APKBUILD')
-rw-r--r--user/pax/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/pax/APKBUILD b/user/pax/APKBUILD
new file mode 100644
index 000000000..edd736e5c
--- /dev/null
+++ b/user/pax/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=pax
+pkgver=20161104
+pkgrel=0
+pkgdesc="Portable Archive eXchange, the POSIX archival tool"
+url="https://www.mirbsd.org/pax.htm"
+arch="all"
+license="BSD"
+depends=""
+depends_dev="libbsd-dev fts-dev"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://ftp.debian.org/debian/pool/main/p/$pkgname/${pkgname}_$pkgver.orig.tar.xz"
+builddir="$srcdir/$pkgname"
+
+build() {
+ cd "$builddir"
+ ${CC} ${CPPFLAGS} ${CFLAGS} \
+ -DHAVE_STRLCPY -DHAVE_VIS -DHAVE_STRMODE -DLONG_OFF_T -DHAVE_LINKAT \
+ $(pkgconf --cflags libbsd) \
+ -Wall ${LDFLAGS} *.c -o $pkgname $(pkgconf --libs libbsd) $(pkgconf --libs fts)
+}
+
+package() {
+ cd "$builddir"
+}
+
+sha512sums="4ca17a412fde5c0de3ff9820a9a5c7e210e015ccddcc791f0c0936f45471dbbe1e96a97515e65d21e5d36a61b14e920eb3a9181ffeabad801663c812ee084c15 pax_20161104.orig.tar.xz"