wok annotate flex/receipt @ rev 12306

Add linux64-btrfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 17 12:15:25 2012 +0200 (2012-04-17)
parents 61d3b0ce3a2b
children 2d437cc7c50c
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 }