summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-28 21:49:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:18 +0000
commit3e5f5b77e9e51cb94903956475f430ae699a9643 (patch)
tree090d3c7a855f468bdb4b46e351ee35a6bdfff3ac /main
parent47a6e8aa87e9a0d9323099bd4ef74d8b51c2ec75 (diff)
downloadaports-3e5f5b77e9e51cb94903956475f430ae699a9643.tar.bz2
aports-3e5f5b77e9e51cb94903956475f430ae699a9643.tar.xz
main/cmph: upgrade to 2.0
Diffstat (limited to 'main')
-rw-r--r--main/cmph/APKBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/main/cmph/APKBUILD b/main/cmph/APKBUILD
index 5d796470f..3558d9132 100644
--- a/main/cmph/APKBUILD
+++ b/main/cmph/APKBUILD
@@ -1,15 +1,14 @@
-# Contributor:
-# Maintainer:
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=cmph
-pkgver=0.9
-pkgrel=2
-pkgdesc="minimal perfect hash C library - utility application"
+pkgver=2.0
+pkgrel=0
+pkgdesc="A minimal hash C library - utility application"
url="http://cmph.sourceforge.net/"
arch="all"
-license="LGPL MPL-1.1"
-depends=
-makedepends=
-install=
+license="LGPL2+ MPL1.1"
+depends=""
+makedepends=""
+install=""
subpackages="$pkgname-dev $pkgname-doc libcmph:lib"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
@@ -22,6 +21,7 @@ prepare() {
build() {
cd "$_builddir"
./configure \
+ --disable-static \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
@@ -30,6 +30,7 @@ build() {
--infodir=/usr/share/info \
|| return 1
make || return 1
+ make tests || return 1
}
package() {
@@ -39,9 +40,11 @@ package() {
}
lib() {
- pkgdesc="minimal perfect hash C library - utility application"
+ pkgdesc="A minimal perfect hash C library"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libcmph*.so.* "$subpkgdir"/usr/lib/
}
-md5sums="14c17e3058174e9333936caa8e18ed28 cmph-0.9.tar.gz"
+md5sums="020946deef7418d9daf4195556ecac12 cmph-2.0.tar.gz"
+sha256sums="ad6c9a75ff3da1fb1222cac0c1d9877f4f2366c5c61c92338c942314230cba76 cmph-2.0.tar.gz"
+sha512sums="7f37a8dcfce047ada9968681e07f66f014f8090aa5ce99358944a60715c7ef2bc62abf4b5c146fe99a0c812f2286ff0c009683b702a4e20c66617d955cf80caa cmph-2.0.tar.gz"