aboutsummaryrefslogtreecommitdiffstats
path: root/main/gperf/APKBUILD
blob: 3b376d71b5e0e9ad0a779ad8b3069dc1e1e9ab19 (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
26
27
28
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gperf
pkgver=3.0.4
pkgrel=3
pkgdesc="Perfect hash function generator."
url="http://www.gnu.org/software/gperf/"
arch="all"
license="GPL"
subpackages="$pkgname-doc"
depends=
makedepends=
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"

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

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