aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lzlib/APKBUILD
blob: a29423e0caade8e80b7745fc57ed376c252333ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# 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="http://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"