void-packages/srcpkgs/gzip/template

28 lines
630 B
Plaintext

# Template file for 'gzip'
pkgname=gzip
version=1.5
revision=2
build_style=gnu-configure
short_desc="GNU compression utility (replacement for compress)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/gzip/"
license="GPL-3"
distfiles="http://ftp.gnu.org/gnu/gzip/$pkgname-$version.tar.gz"
checksum=b5d56e8ffc9918e8c941fab56e04121194f9870adeeb859e09c09eac264035a3
pre_configure() {
sed -i -e '/gets is a/d' lib/stdio.in.h
}
post_build() {
mkdir -p ${DESTDIR}/usr/share/info
touch -f ${DESTDIR}/usr/share/info/dir
}
gzip_package() {
conflicts="chroot-gzip>=0"
pkg_install() {
vmove usr
}
}