aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/lmdb/APKBUILD23
1 files changed, 4 insertions, 19 deletions
diff --git a/community/lmdb/APKBUILD b/community/lmdb/APKBUILD
index ed41ed40ee..3bc78ebd77 100644
--- a/community/lmdb/APKBUILD
+++ b/community/lmdb/APKBUILD
@@ -7,33 +7,18 @@ pkgdesc="Lightning Memory-Mapped Database"
url="http://symas.com/mdb/"
arch="all"
license="custom"
-depends=""
-depends_dev=""
-makedepends="$depends_dev"
-install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="https://github.com/LMDB/lmdb/archive/LMDB_$pkgver.tar.gz
- lmdb_make.patch
- "
-
-_builddir="$srcdir"/$pkgname-LMDB_$pkgver/libraries/liblmdb
-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
-}
+ lmdb_make.patch"
+builddir="$srcdir/$pkgname-LMDB_$pkgver/libraries/liblmdb"
build() {
- cd "$_builddir"
+ cd "$builddir"
make || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}