void-packages/srcpkgs/chroot-gzip/template

31 lines
663 B
Plaintext

# Template file for 'chroot-gzip'
pkgname=chroot-gzip
version=1.4
revision=1
wrksrc="gzip-${version}"
build_style=gnu-configure
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
pre_configure() {
sed -i -e '/gets is a/d' lib/stdio.in.h
}
post_install() {
rm -rf ${DESTDIR}/usr/share
}
chroot-gzip_package() {
conflicts="gzip>=0"
provides="gzip-${version}"
pkg_install() {
vmove usr
}
}