wok annotate flex/receipt @ rev 4923
php-*: msql.so extension may exists eventualy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 15 20:58:17 2010 +0100 (2010-02-15) |
parents | 2f3ab9e8fe47 |
children | ff0287480891 |
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" |
paul@4755 | 8 DEPENDS="m4" |
pascal@1511 | 9 BUILD_DEPENDS="m4" |
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 |
pankso@2050 | 18 ./configure \ |
pankso@2050 | 19 --prefix=/usr \ |
pankso@2050 | 20 --infodir=/usr/share/info \ |
pankso@2050 | 21 --mandir=/usr/share/man \ |
pankso@2050 | 22 $CONFIGURE_ARGS |
pankso@2050 | 23 make |
pankso@34 | 24 make DESTDIR=$PWD/_pkg install |
pankso@34 | 25 } |
pankso@34 | 26 |
pankso@34 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 28 genpkg_rules() |
pankso@34 | 29 { |
pankso@2050 | 30 mkdir -p $fs/usr |
pankso@34 | 31 cp -a $_pkg/usr/bin $fs/usr |
pascal@67 | 32 ln -s flex $fs/usr/bin/lex |
pankso@34 | 33 cp -a $_pkg/usr/lib $fs/usr |
pankso@34 | 34 cp -a $_pkg/usr/include $fs/usr |
pankso@34 | 35 } |