diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 01:23:51 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 01:23:51 +0000 |
commit | cb447620084a20be80d116c81c2e9ec110be7118 (patch) | |
tree | 9fc0d714abbb5c6326b60616a5fd27ec9f984895 /repo/devel/flex.xibuild | |
parent | 153011e9129c6055ef21c48caf65a23e74a91418 (diff) |
restructured repo system
Diffstat (limited to 'repo/devel/flex.xibuild')
-rw-r--r-- | repo/devel/flex.xibuild | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/devel/flex.xibuild b/repo/devel/flex.xibuild new file mode 100644 index 0000000..f5291cc --- /dev/null +++ b/repo/devel/flex.xibuild @@ -0,0 +1,19 @@ +#!/bin/bash + +DEPS=(glibc m4 sh) + +SOURCE=https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz +DESC="a utility for generating programs that recognize patterns in text" + +build () { + ./configure --prefix=/usr --docdir=/usr/share/doc/flex --disable-static + make + make check + make DESTDIR=$PKG_DEST install +} + +package () { + ln -v /usr/bin/flex $PKG_DEST/usr/bin/lex +} + + |