aboutsummaryrefslogtreecommitdiffstats
path: root/main/lzip/APKBUILD
blob: 4576d6cc79ecad908c3918092b4ca368d75a6c76 (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
32
33
34
35
36
37
38
39
40
41
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=lzip
pkgver=1.17
pkgrel=0
pkgdesc="Lzip is a lossless data compressor"
url="http://lzip.nongnu.org/lzip.html"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz"

_builddir=${srcdir}/${pkgname}-${pkgver}
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
        ./configure --prefix=/usr
        make || return 1
}

package() {
	cd "$_builddir"
        make DESTDIR=${pkgdir} install || return 1
}

md5sums="be776a33333ee6529ea79f309491325b  lzip-1.17.tar.gz"
sha256sums="9443855e0a33131233b22cdb6c62c9313a483f16cc7415efe88d4a494cea0352  lzip-1.17.tar.gz"
sha512sums="cd4a1a7d3778f22e3a6f2d2a20491919e662771e79d1738f74c63de857913e28186d53b2af7997e1b164f8ab792561c7dde8781bb025a1859271ddd72f5ed519  lzip-1.17.tar.gz"