wok-6.x view flex/receipt @ rev 2012

Up: transmission (0.42)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Jan 08 20:51:25 2009 +0100 (2009-01-08)
parents 17a39e4461e4
children 2f3ab9e8fe47
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 BUILD_DEPENDS="m4"
10 WANTED=""
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://flex.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share/locale
29 cp -a $_pkg/usr/bin $fs/usr
30 ln -s flex $fs/usr/bin/lex
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/include $fs/usr
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
34 strip -s $fs/usr/bin/*
35 }