void-packages/srcpkgs/lzlib/template
2017-04-25 10:51:44 +02:00

29 lines
776 B
Bash

# Template file for 'lzlib'
pkgname=lzlib
version=1.9
revision=1
build_style=gnu-configure
configure_args="--enable-shared --disable-static"
short_desc="Compression library for the lzip file format"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="2-clause-BSD"
homepage="http://www.nongnu.org/lzip/lzlib"
distfiles="${NONGNU_SITE}/lzip/lzlib/${pkgname}-${version}.tar.gz"
checksum=2472f8d93830d0952b0c75f67e372d38c8f7c174dde2252369d5b20c87d3ba8e
do_configure() {
./configure --prefix=/usr $configure_args CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
post_install() {
vlicense COPYING
}
lzlib-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}