wok-4.x annotate flex/receipt @ rev 8280
Up: xfwm4 to 4.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jan 30 15:45:09 2011 +0000 (2011-01-30) |
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 } |