summaryrefslogtreecommitdiff
path: root/repo/system/gperf.xibuild
blob: 1e9e97b4d0688236cd73d8b3b344c9c6087462d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

MAKEDEPS=(make )
DEPS=(glibc) 

PKG_VER=3.1
SOURCE=http://ftp.gnu.org/pub/gnu/gperf/gperf-$PKG_VER.tar.gz
DESC="Perfect hash function generator"

build () {
    ./configure LIBS="-liconv" --prefix=/usr --docdir=/usr/share/doc/gperf-$PKG_VER
    make
}

check () {
    make -j1 check
}

package () {
    make DESTDIR=$PKG_DEST install 
}