wok-4.x view flex/receipt @ rev 4913
putty: update depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 13 20:16:32 2010 +0000 (2010-02-13) |
parents | 2f3ab9e8fe47 |
children | ff0287480891 |
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 DEPENDS="m4"
9 BUILD_DEPENDS="m4"
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 \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 ln -s flex $fs/usr/bin/lex
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/usr/include $fs/usr
35 }