diff options
Diffstat (limited to 'main/gperf/APKBUILD')
-rw-r--r-- | main/gperf/APKBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/gperf/APKBUILD b/main/gperf/APKBUILD new file mode 100644 index 0000000000..cc97c06d5c --- /dev/null +++ b/main/gperf/APKBUILD @@ -0,0 +1,21 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gperf +pkgver=3.0.4 +pkgrel=0 +pkgdesc="Perfect hash function generator." +url="http://www.gnu.org/software/gperf/" +license="GPL" +subpackages="$pkgname-doc" +depends="uclibc libgcc uclibc++" +makedepends="uclibc++-dev" +source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + export CXX=g++-uc + ./configure --prefix=/usr + make || return 1 + make DESTDIR="$pkgdir" install +} +md5sums="c1f1db32fb6598d6a93e6e88796a8632 gperf-3.0.4.tar.gz" |