30 lines
772 B
Bash
30 lines
772 B
Bash
# Template file for 'lzlib'
|
|
pkgname=lzlib
|
|
version=1.13
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-shared --disable-static"
|
|
short_desc="Compression library for the lzip file format"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://www.nongnu.org/lzip/lzlib"
|
|
distfiles="${NONGNU_SITE}/lzip/lzlib/${pkgname}-${version}.tar.gz"
|
|
checksum=a1ab58f3148ba4b2674e938438166042137a9275bed747306641acfddc9ffb80
|
|
|
|
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
|
|
}
|
|
}
|