wok-stable view flex/receipt @ rev 54
Fixed deps for alsa-lib, busybox, pcmciautils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Dec 21 20:34:38 2007 +0100 (2007-12-21) |
parents | |
children | 773ff8d2a8e5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="flex"
4 VERSION="2.5.33"
5 CATEGORY="extra"
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 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/include $fs/usr
31 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
32 strip -s $fs/usr/bin/*
33 }