wok view flex/receipt @ rev 9830
Up: postfix to 2.8.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 15 12:05:10 2011 +0000 (2011-05-15) |
parents | 7cb52edaecc3 |
children | 61d3b0ce3a2b |
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="bison"
9 BUILD_DEPENDS="bison"
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 make &&
20 make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 ln -s flex $fs/usr/bin/lex
29 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/include $fs/usr
31 }