aports/main/gperf/APKBUILD
2023-04-11 18:01:21 +02:00

28 lines
621 B
Text

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gperf
pkgver=3.1
pkgrel=4
pkgdesc="Perfect hash function generator."
url="https://www.gnu.org/software/gperf/"
arch="all"
license="GPL-3.0-or-later"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/gperf/gperf-$pkgver.tar.gz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
check() {
make -j1 check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="855ebce5ff36753238a44f14c95be7afdc3990b085960345ca2caf1a2db884f7db74d406ce9eec2f4a52abb8a063d4ed000a36b317c9a353ef4e25e2cca9a3f4 gperf-3.1.tar.gz"