wok-next annotate flex/receipt @ rev 14238

Just broke libgee because of old vala; up and recook.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 22 16:04:40 2013 +0000 (2013-03-22)
parents 68049456cdd4
children 5286a067ac76
rev   line source
pankso@34 1 # SliTaz package receipt.
pankso@34 2
pankso@34 3 PACKAGE="flex"
pankso@13204 4 VERSION="2.5.37"
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@13204 27 cp -a $install/usr/bin $fs/usr
pascal@67 28 ln -s flex $fs/usr/bin/lex
pankso@13204 29 cp -a $install/usr/lib $fs/usr
pankso@13204 30 cp -a $install/usr/include $fs/usr
pankso@34 31 }