APP=gperf
VERSION=3.1
BUILD=1sml
HOMEPAGE='https://www.gnu.org/software/gperf/'
DOWNLOAD='http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz'
DESC="perfect hash function generator in C++"
REQUIRES="gcc-libs"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION
  fixbuilddirpermissions

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
bfa6021ac95bb54737da8b6b7782fd13babacf540edb4dcb705ac841ad19225545b6ff57c78c276f457e916c89900ba3ba2e6421ed15a266e6e09d6c2a167c0f  gperf-3.1.tar.lz
"
