void-packages/srcpkgs/chroot-gzip/template

31 lines
663 B
Plaintext
Raw Normal View History

2012-02-28 10:57:54 +01:00
# Template file for 'chroot-gzip'
pkgname=chroot-gzip
version=1.4
revision=1
2012-02-28 10:57:54 +01:00
wrksrc="gzip-${version}"
build_style=gnu-configure
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>"
distfiles="http://ftp.gnu.org/gnu/gzip/gzip-$version.tar.gz"
2012-02-28 10:57:54 +01:00
checksum=d166cfd3da380da1bd535633e8890bfb5664f9e68870a611d1dc01a3e9f711ee
bootstrap=yes
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
}
chroot-gzip_package() {
conflicts="gzip>=0"
provides="gzip-${version}"
pkg_install() {
vmove usr
}
}