25 lines
731 B
Bash
25 lines
731 B
Bash
# Template file for 'lzlib'
|
|
pkgname=lzlib
|
|
version=1.8
|
|
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="GPL-2"
|
|
homepage="http://www.nongnu.org/lzip/lzlib"
|
|
distfiles="${NONGNU_SITE}/lzip/lzlib/${pkgname}-${version}.tar.gz"
|
|
checksum=41bfa82c6ee184ed0884437dc4074ad505e64cb747432cefa97976b89045cbad
|
|
|
|
do_configure() {
|
|
./configure --prefix=/usr $configure_args CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS"
|
|
}
|
|
|
|
lzlib-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|