wok-stable annotate flex/receipt @ rev 488
ADD: archive-extras, command line wrappers for xarchive
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Mar 22 17:25:38 2008 +0100 (2008-03-22) |
parents | 773ff8d2a8e5 |
children | 3d99ecce2d4b |
rev | line source |
---|---|
pankso@34 | 1 # SliTaz package receipt. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="flex" |
pankso@34 | 4 VERSION="2.5.33" |
pankso@204 | 5 CATEGORY="development" |
pankso@34 | 6 SHORT_DESC="Flex is a fast lexical analyser generator." |
pankso@34 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@34 | 8 DEPENDS="" |
pankso@34 | 9 WANTED="" |
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@34 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@34 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@34 | 20 make |
pankso@34 | 21 make DESTDIR=$PWD/_pkg 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@34 | 27 mkdir -p $fs/usr/share/locale |
pankso@34 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@67 | 29 ln -s flex $fs/usr/bin/lex |
pankso@34 | 30 cp -a $_pkg/usr/lib $fs/usr |
pankso@34 | 31 cp -a $_pkg/usr/include $fs/usr |
pankso@34 | 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@34 | 33 strip -s $fs/usr/bin/* |
pankso@34 | 34 } |