wok-current view flex/receipt @ rev 8745
Removed _pkg= and src= lines in sqlite and its wanted receipts.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 19 18:07:11 2011 +0000 (2011-02-19) |
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 }