wok-stable view flex/receipt @ rev 1398
Fix: Dropbear failed to start with empty key files.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Sep 20 08:55:30 2008 +0200 (2008-09-20) |
parents | 773ff8d2a8e5 |
children | 3d99ecce2d4b |
line source
1 # SliTaz package receipt.
3 PACKAGE="flex"
4 VERSION="2.5.33"
5 CATEGORY="development"
6 SHORT_DESC="Flex is a fast lexical analyser generator."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS=""
9 WANTED=""
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 --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/locale
28 cp -a $_pkg/usr/bin $fs/usr
29 ln -s flex $fs/usr/bin/lex
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/include $fs/usr
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 strip -s $fs/usr/bin/*
34 }