diff options
-rw-r--r-- | main/lzo/APKBUILD | 13 |
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 } |