wok annotate flex/receipt @ rev 9857

obconf: fix BUILD_DEPENDS (again)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 16 15:34:53 2011 +0200 (2011-05-16)
parents 7cb52edaecc3
children 61d3b0ce3a2b
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"
gokhlayeh@8161 8 DEPENDS="bison"
gokhlayeh@8161 9 BUILD_DEPENDS="bison"
pankso@34 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@34 11 WEB_SITE="http://flex.sourceforge.net/"
pankso@34 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@34 13
pankso@34 14 # Rules to configure and make the package.
pankso@34 15 compile_rules()
pankso@34 16 {
pankso@34 17 cd $src
gokhlayeh@8161 18 ./configure &&
gokhlayeh@8161 19 make &&
gokhlayeh@8161 20 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 }