wok view flex/receipt @ rev 1645

Add babl, babl-dev, gegl, gegl-dev. Pave the road to Gimp 2.6
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Nov 08 13:31:14 2008 +0000 (2008-11-08)
parents 17a39e4461e4
children 2f3ab9e8fe47
line source
1 # SliTaz package receipt.
3 PACKAGE="flex"
4 VERSION="2.5.33"
5 CATEGORY="development"
6 SHORT_DESC="Flex is a fast lexical analyser generator."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS=""
9 BUILD_DEPENDS="m4"
10 WANTED=""
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://flex.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/locale
29 cp -a $_pkg/usr/bin $fs/usr
30 ln -s flex $fs/usr/bin/lex
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/include $fs/usr
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 strip -s $fs/usr/bin/*
35 }