aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-07-01 00:47:54 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-07-01 00:48:48 +0200
commit4a2731dcafae6eaadf6dda24ccfdf11fd913b481 (patch)
tree9831972b18c6c93243ccb83f55021129854e3480
parentf0dc8faca7ff61c5c4400eb4caf9594ee941bf3a (diff)
downloadaports-4a2731dcafae6eaadf6dda24ccfdf11fd913b481.tar.bz2
aports-4a2731dcafae6eaadf6dda24ccfdf11fd913b481.tar.xz
testing/libre2: move to main
-rw-r--r--main/libre2/APKBUILD (renamed from testing/libre2/APKBUILD)12
1 files changed, 6 insertions, 6 deletions
diff --git a/testing/libre2/APKBUILD b/main/libre2/APKBUILD
index b4ac3ba908..95d4522d9b 100644
--- a/testing/libre2/APKBUILD
+++ b/main/libre2/APKBUILD
@@ -3,7 +3,7 @@
pkgname=libre2
_pkgname=re2
pkgver=20140304
-pkgrel=0
+pkgrel=1
pkgdesc="an efficient, principled regular expression library"
url="https://code.google.com/p/re2/"
arch="all"
@@ -12,7 +12,7 @@ depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-doc"
source="https://re2.googlecode.com/files/$_pkgname-$pkgver.tgz"
_builddir="$srcdir"/$_pkgname
@@ -24,18 +24,18 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
- sed -i 's_prefix=/usr/local_prefix=/usr_' Makefile
}
build() {
cd "$_builddir"
- make
+ make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1
+ make DESTDIR="$pkgdir" prefix=/usr install || return 1
+ install -Dm644 LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE || return 1
}
md5sums="e82a6491efdf2bc928dc3779abcb3bc8 re2-20140304.tgz"