wok-next view flex/receipt @ rev 13881
busybox-boot: add mount=, loopfs= & subroot= cmdline args (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 17 14:10:44 2013 +0100 (2013-01-17) |
parents | 68049456cdd4 |
children | 5286a067ac76 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://flex.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="bison"
13 BUILD_DEPENDS="bison"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure $CONFIGURE_ARGS &&
20 make && 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 $install/usr/bin $fs/usr
28 ln -s flex $fs/usr/bin/lex
29 cp -a $install/usr/lib $fs/usr
30 cp -a $install/usr/include $fs/usr
31 }