wok-6.x annotate flex/receipt @ rev 1775

busybox: default tmpfs size 50% -> 90%
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 28 17:26:25 2008 +0000 (2008-11-28)
parents 17a39e4461e4
children 2f3ab9e8fe47
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=""
pascal@1511 9 BUILD_DEPENDS="m4"
pankso@34 10 WANTED=""
pankso@34 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@34 12 WEB_SITE="http://flex.sourceforge.net/"
pankso@34 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@34 14
pankso@34 15 # Rules to configure and make the package.
pankso@34 16 compile_rules()
pankso@34 17 {
pankso@34 18 cd $src
pankso@34 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1511 20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1511 21 make &&
pankso@34 22 make DESTDIR=$PWD/_pkg 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@34 28 mkdir -p $fs/usr/share/locale
pankso@34 29 cp -a $_pkg/usr/bin $fs/usr
pascal@67 30 ln -s flex $fs/usr/bin/lex
pankso@34 31 cp -a $_pkg/usr/lib $fs/usr
pankso@34 32 cp -a $_pkg/usr/include $fs/usr
pankso@34 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@34 34 strip -s $fs/usr/bin/*
pankso@34 35 }