mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
* app-crypt/rhash: disable on x86_gcc2, also fixed secondary arch
* dev-lang/tcc: make tcc actually works
- update patches: define custom haiku definitions, use haiku
start/end objects
- make tcc uses haiku custom paths
- add secondary arch support
- add x86_64
* dev-lang/tcc: disable on all architectures
- Haiku's BeBuild.h depends on __GNUC__ macro to select ABI, which
unfortunately we can't risk to define, so disabling for now
* dev-python/pyqt: use correct name for sip
* dev-lang/spidermonkey: fix build
- add x86 to snd arch
- update config.sub and config.guess
- add missing cmd:js_config
- add missing cmd:zip
* dev-python/pyqt: clean up the spaces left by previous contributor
* add TEST() for the following ports:
- sys-devel/flex
- app-crypt/rhash
- app-text/podofo
- app-crypt/qca
- app-editors/retext
- app-i18n/mozc
- dev-lang/tcc
- dev-lang/yasm
- dev-lang/spidermonkey
- dev-libs/glib
- dev-libs/jsoncpp
- dev-libs/libtommath
- dev-libs/libxslt
- dev-libs/libyajl
- dev-libs/zziplib
69 lines
1.3 KiB
Bash
69 lines
1.3 KiB
Bash
SUMMARY="A tool for generating scanners"
|
|
DESCRIPTION="Flex is a fast lexical analyser generator. It is a tool for \
|
|
generating programs that perform pattern-matching on text."
|
|
HOMEPAGE="https://github.com/westes/flex/"
|
|
COPYRIGHT="2001-2007 The Flex Project
|
|
1990, 1997 The Regents of the University of California"
|
|
LICENSE="Flex"
|
|
REVISION="1"
|
|
SOURCE_URI="$HOMEPAGE/releases/download/v$portVersion/flex-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995"
|
|
PATCHES="flex-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64 arm"
|
|
|
|
PROVIDES="
|
|
flex = $portVersion compat >= 2.5
|
|
cmd:flex = $portVersion compat >= 2.5
|
|
cmd:flex++ = $portVersion compat >= 2.5
|
|
devel:libfl = 2.0.0 compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
cmd:m4
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:find
|
|
cmd:gcc
|
|
cmd:gettext
|
|
cmd:gzip
|
|
cmd:help2man
|
|
cmd:ld
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:makeinfo
|
|
cmd:yacc
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
rm -f aclocal.m4
|
|
autoreconf -fi
|
|
runConfigure ./configure \
|
|
--disable-rpath --with-gnu-ld --disable-shared \
|
|
--disable-dependency-tracking --disable-nls
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libfl.la
|
|
|
|
# prepare develop/lib
|
|
prepareInstalledDevelLibs libfl
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|