wok view flex/receipt @ rev 17224
Up tazwikiss yaff tazdev tazchroot slitaz-mercurial-style qemu-box mirror-tools (2.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 15 15:56:22 2014 +0200 (2014-10-15) |
parents | 5286a067ac76 |
children | 0077ff4547da |
line source
1 # SliTaz package receipt.
3 PACKAGE="flex"
4 VERSION="2.5.37"
5 CATEGORY="development"
6 SHORT_DESC="Flex is a fast lexical analyser generator."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://flex.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="bison"
15 BUILD_DEPENDS="bison"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 ln -s flex $fs/usr/bin/lex
31 cp -a $install/usr/lib $fs/usr
32 cp -a $install/usr/include $fs/usr
33 }