summaryrefslogtreecommitdiff
path: root/psibuilds/flex.psibuild
blob: 88d61a6c0eb87addfa48dfcf40c5a5749c716d25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

DEPS=(glibc m4 sh)

SOURCE=https://github.com/nlitsme/gnubc


build () {
    ./configure --prefix=/usr --docdir=/usr/share/doc/flex --disable-static
    make
    make check
    make DESTDIR=$PKG_DEST install
}

package () {
    ln -sv $PKG_DEST/usr/bin/flex $PKG_DEST/usr/bin/lex
}