wok-6.x view flex/receipt @ rev 536
Security update: rsync (3.0.2) - Potential buffer overflow in the xattr code
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 10 20:53:44 2008 +0200 (2008-04-10) |
parents | 773ff8d2a8e5 |
children | 3d99ecce2d4b |
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 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 }