wok-stable view flex/receipt @ rev 181

UP : asunder (1.0.2) + clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 04 23:41:18 2008 +0100 (2008-02-04)
parents 96142343fd1b
children 17a39e4461e4
line source
1 # SliTaz package receipt.
3 PACKAGE="flex"
4 VERSION="2.5.33"
5 CATEGORY="extra"
6 SHORT_DESC="Flex is a fast lexical analyser generator."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS=""
9 WANTED=""
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://flex.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale
28 cp -a $_pkg/usr/bin $fs/usr
29 ln -s flex $fs/usr/bin/lex
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/include $fs/usr
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 strip -s $fs/usr/bin/*
34 }