31 lines
786 B
Bash
31 lines
786 B
Bash
# Template file for 'lzlib'
|
|
pkgname=lzlib
|
|
version=1.15
|
|
revision=1
|
|
build_style=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/lzlib-${version}.tar.gz"
|
|
checksum=4afab907a46d5a7d14e927a1080c3f4d7e3ca5a0f9aea81747d8fed0292377ff
|
|
|
|
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
|
|
vmove usr/share/info
|
|
}
|
|
}
|