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

DEPS=(glibc m4 sh)

PKG_VER=3.8.1
SOURCE=https://ftp.gnu.org/gnu/bison/bison-$PKG_VER.tar.xz
DESC="The GNU general-purpose parser generator"

build () {
    ./configure --prefix=/usr --docdir=/usr/share/doc/bison-$PKG_VER
    make
}

check () {
    make check 
}

package () {
    make DESTDIR=$PKG_DEST install 
}