2012-02-28 11:08:29 +01:00
|
|
|
# Template build file for 'chroot-tar'.
|
|
|
|
pkgname=chroot-tar
|
|
|
|
version=1.26
|
2013-02-05 01:26:31 +01:00
|
|
|
revision=1
|
2012-02-28 11:08:29 +01:00
|
|
|
wrksrc="tar-${version}"
|
|
|
|
build_style=gnu-configure
|
2013-02-05 01:26:31 +01:00
|
|
|
homepage="http://www.gnu.org/software/tar/"
|
|
|
|
license="GPL-3"
|
2012-02-28 11:08:29 +01:00
|
|
|
short_desc="The GNU tape archiver -- for xbps-src use"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-05 01:26:31 +01:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/tar/tar-$version.tar.bz2"
|
2012-02-28 11:08:29 +01:00
|
|
|
checksum=5a5369f464502a598e938029c310d4b3abd51e6bb8dfd045663e61c8ea9f6d41
|
|
|
|
|
|
|
|
bootstrap=yes
|
|
|
|
conflicts="tar>=0"
|
2012-02-28 19:10:35 +01:00
|
|
|
provides="tar-${version}"
|
2012-02-28 11:08:29 +01:00
|
|
|
|
2013-02-05 01:26:31 +01:00
|
|
|
pre_configure() {
|
|
|
|
sed -i -e '/gets is a/d' gnu/stdio.in.h
|
|
|
|
}
|
|
|
|
|
2012-02-28 11:08:29 +01:00
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/share ${DESTDIR}/usr/libexec
|
|
|
|
}
|