summaryrefslogtreecommitdiffstats
path: root/main/gperf/APKBUILD
blob: b9aad4c91f2b1506e1ca4d48b9388bdda5076b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gperf
pkgver=3.0.4
pkgrel=1
pkgdesc="Perfect hash function generator."
url="http://www.gnu.org/software/gperf/"
arch="x86 x86_64"
license="GPL"
subpackages="$pkgname-doc"
depends=
makedepends=
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"

build () 
{ 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}
md5sums="c1f1db32fb6598d6a93e6e88796a8632  gperf-3.0.4.tar.gz"