Merge pull request #3624 from ebfe/mtree
mtree: update to 1.0.3 + musl build fix
This commit is contained in:
commit
db4441691d
@ -1,15 +1,33 @@
|
||||
# Template file for 'mtree'
|
||||
pkgname=mtree
|
||||
version=1.0.2
|
||||
revision=5
|
||||
version=1.0.3
|
||||
revision=1
|
||||
wrksrc="${pkgname}-port-${version}"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake"
|
||||
makedepends="libressl-devel"
|
||||
short_desc="Utility for creating and verifying file hierarchies"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="3-clause-BSD"
|
||||
homepage="https://code.google.com/p/mtree-port/"
|
||||
distfiles="https://s3.amazonaws.com/archie-public/mtree-port/${pkgname}-${version}.tar.gz"
|
||||
checksum=f69b8f249fac99cc97fd401c7d1d2539128231cbc49c2252c4868b441bbb403b
|
||||
homepage="https://github.com/archiecobbs/mtree-port/"
|
||||
distfiles="https://github.com/archiecobbs/mtree-port/archive/${version}.tar.gz"
|
||||
checksum=bbbf2ae5f1f99119b3cb7f55f90015b0e06238cde2801c9990521109b2529eed
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) makedepends+=" musl-fts-devel"
|
||||
;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
sed -i '$amtree_CPPFLAGS=-D_STAT_VER_LINUX' Makefile.am
|
||||
sed -i '$amtree_LDADD=-lfts' Makefile.am
|
||||
sed -i 's/strtoq/strtoll/g' spec.c
|
||||
;;
|
||||
esac
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/share/doc/packages/mtree
|
||||
|
@ -1 +0,0 @@
|
||||
site="https://code.google.com/p/mtree-port/wiki/Downloads?tm=2"
|
Loading…
Reference in New Issue
Block a user