| git.druid.rocks | index | druid520 | ports | ports/ | build-tools/ | reflex/ | add.sh |
ports/build-tools/reflex/add.sh
set -e
git clone --depth 1 https://github.com/Genivia/RE-flex.git reflex
cd reflex
# a pre-generated ./configure ships in the checkout (Makefile.in etc
# already present) -- no autoreconf/automake/libtool needed at build
# time, same shape as build-tools/flex's own release-tarball approach.
CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" ./configure --prefix=$MP_PREFIX
make
make install
make clean || true