void-packages/srcpkgs/lzlib/template
2021-01-08 10:41:33 -05:00

29 lines
778 B
Bash

# Template file for 'lzlib'
pkgname=lzlib
version=1.12
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="https://www.nongnu.org/lzip/lzlib"
distfiles="${NONGNU_SITE}/lzip/lzlib/${pkgname}-${version}.tar.gz"
checksum=8e5d84242eb52cf1dcc98e58bd9ba8ef1aefa501431abdd0273a22bf4ce337b1
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
}
}