void-packages/srcpkgs/lzlib/template

30 lines
776 B
Bash
Raw Normal View History

2016-12-23 20:19:24 +01:00
# Template file for 'lzlib'
pkgname=lzlib
2017-04-25 10:27:27 +02:00
version=1.9
2016-12-23 20:19:24 +01:00
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>"
2017-04-25 10:27:27 +02:00
license="2-clause-BSD"
2016-12-23 20:19:24 +01:00
homepage="http://www.nongnu.org/lzip/lzlib"
distfiles="${NONGNU_SITE}/lzip/lzlib/${pkgname}-${version}.tar.gz"
2017-04-25 10:27:27 +02:00
checksum=2472f8d93830d0952b0c75f67e372d38c8f7c174dde2252369d5b20c87d3ba8e
2016-12-23 20:19:24 +01:00
do_configure() {
./configure --prefix=/usr $configure_args CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
}
2017-04-25 10:27:27 +02:00
post_install() {
vlicense COPYING
}
2016-12-23 20:19:24 +01:00
lzlib-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}