smlinux/base/gperf/gperf.SMBuild
PktSurf a6bc50adc7 Added elfutils and fuse to base
Removed build options that placed elf binaries in /bin
Removed executable bit from some build files
2024-10-29 15:25:51 +05:30

33 lines
687 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gperf
version=3.1
build=1sml
homepage="https://www.gnu.org/software/gperf/"
download="http://ftp.gnu.org/pub/gnu/gperf/gperf-$version.tar.gz"
desc="perfect hash function generator in C++"
requires="gcc-libs"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
bfa6021ac95bb54737da8b6b7782fd13babacf540edb4dcb705ac841ad19225545b6ff57c78c276f457e916c89900ba3ba2e6421ed15a266e6e09d6c2a167c0f gperf-3.1.tar.lz
"