summaryrefslogtreecommitdiff
path: root/system/lzip/APKBUILD
blob: 50d1fa90a15f88132f3ea06e25b8f2a263c08e04 (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.22
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="318de74effdbdfa79070d28919459a85bf1efe662b818b8af2a3daa964b6c24e3386c37de360c6d5b8b624d549b5c9ed777c6234561129c477e03d92ac2db206  lzip-1.22.tar.gz"