summaryrefslogtreecommitdiff
path: root/user/pax/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/pax/APKBUILD')
-rw-r--r--user/pax/APKBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/user/pax/APKBUILD b/user/pax/APKBUILD
deleted file mode 100644
index d27e68633..000000000
--- a/user/pax/APKBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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_dev="libbsd-dev fts-dev"
-makedepends="$depends_dev"
-subpackages="$pkgname-doc"
-source="http://ftp.debian.org/debian/pool/main/p/$pkgname/${pkgname}_$pkgver.orig.tar.xz
- needed-header.patch
- pax-20160306-glibc-to-linux.patch"
-builddir="$srcdir/$pkgname"
-
-build() {
- cd "$builddir"
- ${CC} ${CPPFLAGS} ${CFLAGS} \
- -DHAVE_STRLCPY -DHAVE_STRMODE -DLONG_OFF_T -DHAVE_LINKAT -DHAVE_SYS_SYSMACROS_H -D_BSD_SOURCE \
- -DPAX_SAFE_PATH=\"/bin:/usr/bin:/usr/local/bin\" \
- $(pkgconf --cflags libbsd) \
- -Wall ${LDFLAGS} *.c -o $pkgname $(pkgconf --libs libbsd) $(pkgconf --libs libfts)
-}
-
-package() {
- cd "$builddir"
-
- install -Dm755 pax "$pkgdir"/usr/bin/pax
- ln -s pax "$pkgdir"/usr/bin/paxcpio
- ln -s pax "$pkgdir"/usr/bin/paxtar
-
- install -Dm644 pax.1 "$pkgdir"/usr/share/man/man1/pax.1
- install -m644 cpio.1 "$pkgdir"/usr/share/man/man1/paxcpio.1
- install -m644 tar.1 "$pkgdir"/usr/share/man/man1/paxtar.1
-}
-
-sha512sums="4ca17a412fde5c0de3ff9820a9a5c7e210e015ccddcc791f0c0936f45471dbbe1e96a97515e65d21e5d36a61b14e920eb3a9181ffeabad801663c812ee084c15 pax_20161104.orig.tar.xz
-f494daeebca58bfc0875138e3b01e1d7b74d982b574b0d06d18244046cd0c0b99d8039a629391a578657489346f580c4eaf347ee43ba78eb1058fadebffef497 needed-header.patch
-96d018bd1be2b0d22c9c5e11a92d8cf7ef9bc72d1b13686e572aa15935f2fda9d507baf1e0eb916fec776c2f9d7bab458c203cab64446eed34b70f544109d1d7 pax-20160306-glibc-to-linux.patch"