summaryrefslogtreecommitdiff
path: root/system/lzip/APKBUILD
blob: 9f664b6cea13e1cc6cee126f38a7ea7dbd550330 (plain) (blame)
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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=lzip
pkgver=1.23
pkgrel=0
pkgdesc="Lossless data compressor"
url="https://www.nongnu.org/lzip/lzip.html"
arch="all"
license="GPL-2.0+"
subpackages="$pkgname-doc"
source="https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--prefix=/usr \
		CXX="${CXX-g++}" \
		CPPFLAGS="${CPPFLAGS}" \
		CXXFLAGS="${CXXFLAGS}" \
		LDFLAGS="${LDFLAGS}"
        make
}

check() {
	make check
}

package() {
	make DESTDIR=$pkgdir install
}

sha512sums="482804205b6e92fdf9cb17fb9482df7987227c7b1bef9e42d78787acfabe73995f5b1a66f847d2176423f22dce56f1122c5b1c9670f0b778c0bdad2852369c85  lzip-1.23.tar.gz"