wok-current annotate flex/receipt @ rev 4602

Add nvidia (proprietary drivers and lib)
author Rohit Joshi <jozee@slitaz.org>
date Mon Dec 14 15:51:46 2009 +0000 (2009-12-14)
parents 3d99ecce2d4b
children 7cb52edaecc3
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"
pascal@1511 8 BUILD_DEPENDS="m4"
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@34 13 # Rules to configure and make the package.
pankso@34 14 compile_rules()
pankso@34 15 {
pankso@34 16 cd $src
pankso@2050 17 ./configure \
pankso@2050 18 --prefix=/usr \
pankso@2050 19 --infodir=/usr/share/info \
pankso@2050 20 --mandir=/usr/share/man \
pankso@2050 21 $CONFIGURE_ARGS
pankso@2050 22 make
pankso@34 23 make DESTDIR=$PWD/_pkg install
pankso@34 24 }
pankso@34 25
pankso@34 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@34 27 genpkg_rules()
pankso@34 28 {
pankso@2050 29 mkdir -p $fs/usr
pankso@34 30 cp -a $_pkg/usr/bin $fs/usr
pascal@67 31 ln -s flex $fs/usr/bin/lex
pankso@34 32 cp -a $_pkg/usr/lib $fs/usr
pankso@34 33 cp -a $_pkg/usr/include $fs/usr
pankso@34 34 }