mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-08 07:02:43 +01:00
38 lines
862 B
Plaintext
38 lines
862 B
Plaintext
# Contributor: Klemens Nanni <kl3@posteo.org>
|
|
# Maintainer: Klemens Nanni <kl3@posteo.org>
|
|
pkgname=lzlib
|
|
pkgver=1.10
|
|
pkgrel=0
|
|
pkgdesc="Library for the lzip compression file format"
|
|
url="http://www.nongnu.org/lzip/lzlib.html"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
subpackages="$pkgname-doc"
|
|
source="https://download.savannah.gnu.org/releases/lzip/$pkgname/$pkgname-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="c26aa48de189e93476f3f9de248c51dacbafc19330fc2d71dd2b487a88e0fb64d42c4cf2563462f45632bf91aa3a78f35efa5194733987babdd3fa21f4bb2e8a lzlib-1.10.tar.gz"
|