wok-current view flex/receipt @ rev 3872
Fix: linux pkg to include all default modules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Aug 09 20:53:57 2009 +0200 (2009-08-09) |
parents | 3d99ecce2d4b |
children | 7cb52edaecc3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="flex"
4 VERSION="2.5.35"
5 CATEGORY="development"
6 SHORT_DESC="Flex is a fast lexical analyser generator."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="m4"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://flex.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 ln -s flex $fs/usr/bin/lex
32 cp -a $_pkg/usr/lib $fs/usr
33 cp -a $_pkg/usr/include $fs/usr
34 }