From 16e799786f34721e646e14a2b7e7ab3816137f1a Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 2 Oct 2021 23:21:53 +0100 Subject: added packages --- psibuilds/flex.psibuild | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 psibuilds/flex.psibuild (limited to 'psibuilds/flex.psibuild') diff --git a/psibuilds/flex.psibuild b/psibuilds/flex.psibuild new file mode 100644 index 0000000..88d61a6 --- /dev/null +++ b/psibuilds/flex.psibuild @@ -0,0 +1,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 +} + + -- cgit v1.2.1