wok-4.x annotate flex/receipt @ rev 34

expat, flex, fuse, libcap-dev
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:07:37 2007 +0100 (2007-12-18)
parents
children 773ff8d2a8e5
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@34 5 CATEGORY="extra"
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
pankso@34 29 cp -a $_pkg/usr/lib $fs/usr
pankso@34 30 cp -a $_pkg/usr/include $fs/usr
pankso@34 31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@34 32 strip -s $fs/usr/bin/*
pankso@34 33 }