pax: update to 20190210.
This commit is contained in:
parent
69fd6a85ca
commit
db8184b8c5
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'pax'
|
# Template file for 'pax'
|
||||||
pkgname=pax
|
pkgname=pax
|
||||||
version=20171021
|
version=20190210
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="paxmirabilis-${version}"
|
wrksrc="paxmirabilis-${version}"
|
||||||
build_wrksrc="${pkgname}"
|
build_wrksrc="${pkgname}"
|
||||||
hostmakedepends="cpio bmake groff"
|
hostmakedepends="cpio groff"
|
||||||
short_desc="POSIX archiving utility pax from MirOS (plus tar and cpio)"
|
short_desc="POSIX archiving utility pax from MirOS (plus tar and cpio)"
|
||||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
homepage="https://www.mirbsd.org/MirOS/dist/mir/cpio/"
|
homepage="https://www.mirbsd.org/MirOS/dist/mir/cpio/"
|
||||||
distfiles="https://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-${version}.cpio.gz"
|
distfiles="https://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-${version}.cpio.gz"
|
||||||
checksum=fd45cb42524ae94b5105588bb6bce347e731703740197cb9d933065f27006382
|
checksum=24d5565c029e4b3b1d8b76680dd52d08d0adb5bb028188a3989e1358797631c5
|
||||||
|
|
||||||
alternatives="
|
alternatives="
|
||||||
pax:pax:/usr/bin/paxmirabilis
|
pax:pax:/usr/bin/paxmirabilis
|
||||||
|
@ -20,22 +20,17 @@ alternatives="
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl)
|
*-musl)
|
||||||
makedepends+=" musl-fts-devel"
|
makedepends+=" musl-fts-devel"
|
||||||
export LDADD="-lfts"
|
export LIBS="-lfts"
|
||||||
esac
|
esac
|
||||||
|
|
||||||
do_extract() {
|
do_extract() {
|
||||||
zcat ${XBPS_SRCDISTDIR}/${pkgname}-${version}/paxmirabilis-${version}.cpio.gz | cpio -mid
|
zcat ${XBPS_SRCDISTDIR}/${pkgname}-${version}/paxmirabilis-${version}.cpio.gz | cpio -mid
|
||||||
sed -i '1i#include <sys/types.h>' ${build_wrksrc}/pax.h
|
sed -i '1i#include <sys/types.h>' ${build_wrksrc}/pax.h
|
||||||
sed -i 's/__GLIBC__/__linux__/g' ${build_wrksrc}/cache.c
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
i686-musl|arm*-musl|mips*-musl) # 32bit-platforms
|
|
||||||
sed -i 's/-DLONG_OFF_T//' ${build_wrksrc}/Makefile
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
bmake ${makejobs} MACHINE_OS=Linux \
|
TARGET_OS=Linux CC="${CC}" CFLAGS="${CFLAGS} -DGNU_SOURCE" \
|
||||||
CC="${CC}" CFLAGS="${CFLAGS} -DGNU_SOURCE" LDFLAGS="${LDFLAGS}"
|
LDFLAGS="${LDFLAGS}" sh ./Build.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in New Issue