blob: b65270887fbddc4da62d10514a7695027cfe4615 (
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)
SOURCE=https://github.com/westes/flex
DESC="a utility for generating programs that recognize patterns in text"
build () {
./autogen.sh
./configure --prefix=/usr --docdir=/usr/share/doc/flex --disable-static
make
make check
make DESTDIR=$PKG_DEST install
}
package () {
ln -v $PKG_DEST/usr/bin/flex $PKG_DEST/usr/bin/lex
}
|