aboutsummaryrefslogtreecommitdiffstats
path: root/main/lzo
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2016-01-14 19:25:33 +0200
committerTimo Teräs <timo.teras@iki.fi>2016-01-19 11:05:35 +0000
commite2a6dd31076459c72e3a5eae5413e444f4c4a7b0 (patch)
tree5f7ce82c6f419e9575eccc551bde503e1dcdf085 /main/lzo
parent438f7d4f57b1116c57c3053ee76644918cc8b6fd (diff)
downloadaports-e2a6dd31076459c72e3a5eae5413e444f4c4a7b0.tar.bz2
aports-e2a6dd31076459c72e3a5eae5413e444f4c4a7b0.tar.xz
main/lzo: Add -doc subpackage. Minor cleanups in APKBUILD
Diffstat (limited to 'main/lzo')
-rw-r--r--main/lzo/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/main/lzo/APKBUILD b/main/lzo/APKBUILD
index 31ceb69c1a..736b424078 100644
--- a/main/lzo/APKBUILD
+++ b/main/lzo/APKBUILD
@@ -1,8 +1,9 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=lzo
pkgver=2.09
-pkgrel=0
+pkgrel=1
pkgdesc="LZO -- a real-time data compression library"
url="http://www.oberhumer.com/opensource/lzo"
arch="all"
@@ -10,14 +11,10 @@ license="GPL"
depends=""
makedepends=""
install=
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-doc"
source="http://www.oberhumer.com/opensource/lzo/download/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- cd "$_builddir"
-}
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
@@ -34,7 +31,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}