void-packages/srcpkgs/lzlib/template
maxice8 c883ea56d4 lzlib: update to 1.10.
Closes: #11554 [via git-merge-pr]
2018-03-17 21:52:17 -07:00

29 lines
777 B
Bash

# Template file for 'lzlib'
pkgname=lzlib
version=1.10
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="BSD-2-Clause"
homepage="http://www.nongnu.org/lzip/lzlib"
distfiles="${NONGNU_SITE}/lzip/lzlib/${pkgname}-${version}.tar.gz"
checksum=1d6ab7800a5b43e56fd20607fd2cfda9e550350dc95f5beb6a4ce14f85b41043
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
}
}