Commit 73cb2d87 authored by Natanael Copa's avatar Natanael Copa

main/cmph: moved from testing

(cherry picked from commit 648eefa8)

Conflicts:

	main/cmph/APKBUILD
parent 3d94eb4b
# Contributor:
# Maintainer:
pkgname=cmph
pkgver=0.9
pkgrel=0
pkgdesc="minimal perfect hash C library - utility application"
url="http://cmph.sourceforge.net/"
license="LGPL MPL-1.1"
depends=
makedepends=
install=
subpackages="$pkgname-dev $pkgname-doc libcmph:lib"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
}
lib() {
pkgdesc="minimal perfect hash C library - utility application"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libcmph*.so.* "$subpkgdir"/usr/lib/
}
md5sums="14c17e3058174e9333936caa8e18ed28 cmph-0.9.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment