void-packages/srcpkgs/chroot-gzip/template

24 lines
602 B
Text

# Template file for 'chroot-gzip'
pkgname=chroot-gzip
version=1.4
wrksrc="gzip-${version}"
build_style=gnu-configure
revision=1
homepage="http://www.gnu.org/software/gzip/"
license="GPL-3"
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"
checksum=d166cfd3da380da1bd535633e8890bfb5664f9e68870a611d1dc01a3e9f711ee
bootstrap=yes
conflicts="gzip>=0"
provides="gzip-${version}"
pre_configure() {
sed -i -e '/gets is a/d' lib/stdio.in.h
}
post_install() {
rm -rf ${DESTDIR}/usr/share
}