mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
34 lines
963 B
Plaintext
34 lines
963 B
Plaintext
DESCRIPTION="Flex is a tool for generating scanners."
|
|
HOMEPAGE="http://flex.sourceforge.net/"
|
|
SRC_URI="http://sourceforge.net/projects/flex/files/flex/flex-2.5.35/flex-2.5.35.tar.bz2/download"
|
|
REVISION="1"
|
|
STATUS_HAIKU="stable"
|
|
DEPEND=""
|
|
CHECKSUM_MD5="10714e50cea54dc7a227e3eddcd44d57"
|
|
BUILD {
|
|
cd flex-2.5.35
|
|
rm aclocal.m4
|
|
libtoolize --force --copy --install
|
|
aclocal -I m4
|
|
autoconf
|
|
automake --add-missing --force-missing
|
|
prefix=$(finddir B_PACKAGE_LINKS_DIRECTORY)/flex-2.5.35
|
|
./configure --prefix=$prefix \
|
|
--datarootdir=$prefix/data \
|
|
--sbindir=$prefix/bin \
|
|
--includedir=$prefix/develop/headers \
|
|
--sysconfdir=$prefix/settings \
|
|
--docdir=$prefix/documentation/flex \
|
|
--infodir=$prefix/documentation/info \
|
|
--mandir=$prefix/documentation/man \
|
|
--disable-rpath --with-gnu-ld
|
|
make
|
|
}
|
|
|
|
INSTALL {
|
|
cd flex-2.5.35
|
|
make install
|
|
}
|
|
LICENSE="Flex"
|
|
COPYRIGHT="2001-2007 The Flex Project; 1990, 1997 The Regents of the University of California"
|