aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/wiredtiger/APKBUILD29
-rw-r--r--testing/wiredtiger/makemake-remove-libtool-version.patch11
2 files changed, 29 insertions, 11 deletions
diff --git a/testing/wiredtiger/APKBUILD b/testing/wiredtiger/APKBUILD
index f640731036..ef2e69ebc6 100644
--- a/testing/wiredtiger/APKBUILD
+++ b/testing/wiredtiger/APKBUILD
@@ -3,21 +3,22 @@
pkgname=wiredtiger
pkgver=2.7.0
-pkgrel=0
+pkgrel=1
pkgdesc="High performance, scalable, production quality, NoSQL, Open Source extensible platform for data management"
url="http://www.wiredtiger.com"
arch="x86_64"
-license="custom"
+license="(GPLv2 or GPLv3) and MIT and BSD"
depends=""
depends_dev="autoconf automake libtool linux-headers"
-makedepends="$depends_dev"
+makedepends="$depends_dev zlib-dev snappy-dev"
-options="libtool"
-subpackages="$pkgname-doc $pkgname-dev"
+options=""
+subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
install=""
source="http://source.wiredtiger.com/releases/wiredtiger-$pkgver.tar.bz2
10-fix-code-generator.patch
+ makemake-remove-libtool-version.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -30,13 +31,16 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ sh autogen.sh || return 1
}
build() {
cd "$_builddir"
- sh autogen.sh
- ./configure --prefix=/usr || exit 1
- make || exit 1
+ ./configure --prefix=/usr \
+ --disable-static \
+ --with-builtins=zlib,snappy \
+ || return 1
+ make || return 1
}
package() {
@@ -45,8 +49,11 @@ package() {
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
md5sums="0c58d8ed0d304524cfb1bca518d5ce3d wiredtiger-2.7.0.tar.bz2
-a2d708fbb72b47aa94fb424e4b679484 10-fix-code-generator.patch"
+a2d708fbb72b47aa94fb424e4b679484 10-fix-code-generator.patch
+6289c5d090f81f0573ee15783f492207 makemake-remove-libtool-version.patch"
sha256sums="35aef2460700311f4a8778685f4e5c1e49aee718d4d2c8d66c89aeb147b6ba1a wiredtiger-2.7.0.tar.bz2
-65fc3b0885ff2e2ed30b7eb9917671fd7acdbb63978d565e17d328c2da214326 10-fix-code-generator.patch"
+65fc3b0885ff2e2ed30b7eb9917671fd7acdbb63978d565e17d328c2da214326 10-fix-code-generator.patch
+dcb10f0ecd04c2d45ca0a271f268739b3718a34a5b87563e12855d6db13f3b9c makemake-remove-libtool-version.patch"
sha512sums="b6f880fbed5b65cccc00aec55a5526ad6c8b5892ac9019d261120d739a83fd25dd59756d21b96ebb0c2800331ab2459f2dc94b5aed9dd4f35454a920c328c2e3 wiredtiger-2.7.0.tar.bz2
-a24360c18a8dd677a1942fc66ecdfdb8bc514af6de3e19be822293fdc83c051c43f3270f91eaa4524f30b5bc82c6ecad5162ce5b3f5ff470bab4e1a5d9eb79ec 10-fix-code-generator.patch"
+a24360c18a8dd677a1942fc66ecdfdb8bc514af6de3e19be822293fdc83c051c43f3270f91eaa4524f30b5bc82c6ecad5162ce5b3f5ff470bab4e1a5d9eb79ec 10-fix-code-generator.patch
+9412a227ca8c9ff47db6d460736cfaab4f38aaf7c6f07ddeaaad6a2b1e6080a6bde6ef6392d1be25e7f987ca153528583cc0c8544397162c09e495911a0e4f25 makemake-remove-libtool-version.patch"
diff --git a/testing/wiredtiger/makemake-remove-libtool-version.patch b/testing/wiredtiger/makemake-remove-libtool-version.patch
new file mode 100644
index 0000000000..8a58129c4d
--- /dev/null
+++ b/testing/wiredtiger/makemake-remove-libtool-version.patch
@@ -0,0 +1,11 @@
+--- ./build_posix/makemake.orig
++++ ./build_posix/makemake
+@@ -24,7 +24,7 @@
+ sed -n '/END SUBDIRS/,/BEGIN SOURCES/p' Make.base
+
+ echo
+-echo "libwiredtiger_la_LDFLAGS = -release @VERSION@"
++echo "libwiredtiger_la_LDFLAGS ="
+ echo "libwiredtiger_la_SOURCES=\\"
+ sed -e '/^[a-z]/!d' \
+ -e 's/.*/ & \\/' \