void-packages/srcpkgs/gzip/template

28 lines
630 B
Plaintext
Raw Normal View History

# Template file for 'gzip'
pkgname=gzip
2012-06-18 08:33:23 +02:00
version=1.5
2013-02-01 11:34:49 +01:00
revision=2
2012-06-18 08:33:23 +02:00
build_style=gnu-configure
short_desc="GNU compression utility (replacement for compress)"
maintainer="Juan RP <xtraeme@gmail.com>"
2012-06-18 08:33:23 +02:00
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
}
}