base/{busybox,enchant,fftw,kmod,llvm,musl} Replaced CFLAGS and related CFLAGS with += operator for cleanliness Fixed mkdir commands in: base/{exiv2,fmt,glib,json-glib} Fixed file/recompile_magic.mgc.sh script by discarding /usr in base/file build file Tuned build options in base/flac Discarded unnecessary CPPFLAGS and printf command in base/flex Replaced CFLAGS with LDFLAGS in base/gawk Discarded /usr/bin/update-mime-database with own /etc/rc.d.rc.gtk liner in base/glib's doinst.sh file Discarded CXXFLAGS liner in base/glib Discarded mkdir liner in base/initfs Cause base/llvm build file to properly cd into the smbuild directory smoothly when attempting a rebuild in future Discarded unnecessary CFLAGS options in base/mksh Upgraded base/zstd to 1.5.2, rewrote its build options to use cmake build system
35 lines
719 B
Text
Executable file
35 lines
719 B
Text
Executable file
app=flex
|
|
version=2.6.4
|
|
build=1sml
|
|
homepage="https://github.com/westes/flex"
|
|
download="https://github.com/westes/flex/archive/refs/tags/v$version.tar.gz"
|
|
desc="fast lexical analyzer generator"
|
|
requires="m4"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
CPPFLAGS="$CFLAGS -DSTDC_HEADERS" \
|
|
./configure \
|
|
--prefix="" \
|
|
--disable-nls \
|
|
--disable-static
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
6564218510945b678bb61a1375ccaa4c254aa43fc52f0c4e3d8b784f551bca82bb8ab1889bde522c3da9b04da99904d17420ef8615862bae65b925770fae2517 flex-2.6.4.tar.lz
|
|
"
|