wok annotate flex/receipt @ rev 17203

telepathy-glib: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 09 13:38:33 2014 +0200 (2014-10-09)
parents 5286a067ac76
children 0077ff4547da
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@15943 12 HOST_ARCH="i486 arm"
pankso@34 13
pankso@10042 14 DEPENDS="bison"
pankso@10042 15 BUILD_DEPENDS="bison"
pankso@10042 16
pankso@34 17 # Rules to configure and make the package.
pankso@34 18 compile_rules()
pankso@34 19 {
pankso@34 20 cd $src
pankso@10041 21 ./configure $CONFIGURE_ARGS &&
pankso@10041 22 make && make install
pankso@34 23 }
pankso@34 24
pankso@34 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@34 26 genpkg_rules()
pankso@34 27 {
pankso@2050 28 mkdir -p $fs/usr
pankso@13204 29 cp -a $install/usr/bin $fs/usr
pascal@67 30 ln -s flex $fs/usr/bin/lex
pankso@13204 31 cp -a $install/usr/lib $fs/usr
pankso@13204 32 cp -a $install/usr/include $fs/usr
pankso@34 33 }