wok-4.x annotate flex/receipt @ rev 10857

Up: slitaz-boot-scripts (4.5) - Bug fixes and ready for RC
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jun 14 21:15:16 2011 +0200 (2011-06-14)
parents 61d3b0ce3a2b
children 39f7962e4210
rev   line source
pankso@34 1 # SliTaz package receipt.
pankso@34 2
pankso@34 3 PACKAGE="flex"
pankso@2050 4 VERSION="2.5.35"
pankso@204 5 CATEGORY="development"
pankso@34 6 SHORT_DESC="Flex is a fast lexical analyser generator."
pankso@34 7 MAINTAINER="pankso@slitaz.org"
pankso@34 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@34 9 WEB_SITE="http://flex.sourceforge.net/"
pankso@34 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@34 11
pankso@10042 12 DEPENDS="bison"
pankso@10042 13 BUILD_DEPENDS="bison"
pankso@10042 14
pankso@34 15 # Rules to configure and make the package.
pankso@34 16 compile_rules()
pankso@34 17 {
pankso@34 18 cd $src
pankso@10041 19 ./configure $CONFIGURE_ARGS &&
pankso@10041 20 make && make install
pankso@34 21 }
pankso@34 22
pankso@34 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@34 24 genpkg_rules()
pankso@34 25 {
pankso@2050 26 mkdir -p $fs/usr
pankso@34 27 cp -a $_pkg/usr/bin $fs/usr
pascal@67 28 ln -s flex $fs/usr/bin/lex
pankso@34 29 cp -a $_pkg/usr/lib $fs/usr
pankso@34 30 cp -a $_pkg/usr/include $fs/usr
pankso@34 31 }