wok annotate flex/receipt @ rev 15712
connman: use pidof string if no .pid file
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Dec 23 22:28:27 2013 +0000 (2013-12-23) |
parents | 2d437cc7c50c |
children | 159df010240c |
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" |
pascal@15022 | 8 LICENSE="BSD" |
pankso@34 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@34 | 10 WEB_SITE="http://flex.sourceforge.net/" |
pankso@34 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@34 | 12 |
pankso@10042 | 13 DEPENDS="bison" |
pankso@10042 | 14 BUILD_DEPENDS="bison" |
pankso@10042 | 15 |
pankso@34 | 16 # Rules to configure and make the package. |
pankso@34 | 17 compile_rules() |
pankso@34 | 18 { |
pankso@34 | 19 cd $src |
pankso@10041 | 20 ./configure $CONFIGURE_ARGS && |
pankso@10041 | 21 make && make install |
pankso@34 | 22 } |
pankso@34 | 23 |
pankso@34 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 25 genpkg_rules() |
pankso@34 | 26 { |
pankso@2050 | 27 mkdir -p $fs/usr |
pankso@13204 | 28 cp -a $install/usr/bin $fs/usr |
pascal@67 | 29 ln -s flex $fs/usr/bin/lex |
pankso@13204 | 30 cp -a $install/usr/lib $fs/usr |
pankso@13204 | 31 cp -a $install/usr/include $fs/usr |
pankso@34 | 32 } |