Commit 45a9b720 authored by Roberto Oliveira's avatar Roberto Oliveira Committed by Natanael Copa

testing/lzlib: upgrade to 1.9, modernize and add check

parent c908b50f
# Contributor: Klemens Nanni <kl3@posteo.org>
# Maintainer: Klemens Nanni <kl3@posteo.org>
pkgname=lzlib
pkgver=1.8
pkgver=1.9
pkgrel=0
pkgdesc="Lzlib is a data compression library"
url="http://www.nongnu.org/lzip/lzlib.html"
arch="all"
license="GPL2+"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://download.savannah.gnu.org/releases/lzip/${pkgname}/${pkgname}-${pkgver}.tar.gz"
source="http://download.savannah.gnu.org/releases/lzip/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
builddir="${srcdir}/${pkgname}-${pkgver}"
build() {
cd "${builddir}"
cd "$builddir"
./configure --prefix=/usr
make || return 1
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "${builddir}"
make DESTDIR="${pkgdir}" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
}
md5sums="251e982d20f10a22069910f2f3951613 lzlib-1.8.tar.gz"
sha256sums="41bfa82c6ee184ed0884437dc4074ad505e64cb747432cefa97976b89045cbad lzlib-1.8.tar.gz"
sha512sums="4fe8e28068f67d377bcfb0b7335650acd03565f9c8ac247c87a2b4951b82bae5e8b82d8a537bae84ed13ee09555e7ffbf573a2b3738d9bc86771897981cd549b lzlib-1.8.tar.gz"
sha512sums="2d36e0b27f544fdab958dbf7d966b41e44c134382ec9f792d94dacf60355eadc25a1cf2b8b7049287995fa5bfc27aec0f3e4253304e3b10813c96b0609408278 lzlib-1.9.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment