diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/devel/flex.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/devel/flex.xibuild')
-rw-r--r-- | repo/devel/flex.xibuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/repo/devel/flex.xibuild b/repo/devel/flex.xibuild index f5291cc..bd7a96f 100644 --- a/repo/devel/flex.xibuild +++ b/repo/devel/flex.xibuild @@ -2,17 +2,21 @@ DEPS=(glibc m4 sh) -SOURCE=https://github.com/westes/flex/releases/download/v2.6.4/flex-2.6.4.tar.gz +PKG_VER=2.6.4 +SOURCE=https://github.com/westes/flex/releases/download/v$PKG_VER/flex-$PKG_VER.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 +} + +check () { make check - make DESTDIR=$PKG_DEST install } package () { + make DESTDIR=$PKG_DEST install ln -v /usr/bin/flex $PKG_DEST/usr/bin/lex } |