2012-02-28 10:57:54 +01:00
|
|
|
# Template file for 'chroot-gzip'
|
|
|
|
pkgname=chroot-gzip
|
|
|
|
version=1.4
|
2013-04-12 08:55:23 +02:00
|
|
|
revision=1
|
2012-02-28 10:57:54 +01:00
|
|
|
wrksrc="gzip-${version}"
|
|
|
|
build_style=gnu-configure
|
2013-02-05 01:18:07 +01:00
|
|
|
homepage="http://www.gnu.org/software/gzip/"
|
|
|
|
license="GPL-3"
|
2012-02-28 10:57:54 +01:00
|
|
|
short_desc="GNU compression utility -- for xbps-src use"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-05 01:18:07 +01:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/gzip/gzip-$version.tar.gz"
|
2012-02-28 10:57:54 +01:00
|
|
|
checksum=d166cfd3da380da1bd535633e8890bfb5664f9e68870a611d1dc01a3e9f711ee
|
|
|
|
|
|
|
|
bootstrap=yes
|
|
|
|
|
2013-02-05 01:18:07 +01:00
|
|
|
pre_configure() {
|
|
|
|
sed -i -e '/gets is a/d' lib/stdio.in.h
|
|
|
|
}
|
|
|
|
|
2012-02-28 10:57:54 +01:00
|
|
|
post_install() {
|
|
|
|
rm -rf ${DESTDIR}/usr/share
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
chroot-gzip_package() {
|
|
|
|
conflicts="gzip>=0"
|
|
|
|
provides="gzip-${version}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|