wok-4.x rev 2050
up: flex (2.5.35)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 17 14:08:21 2009 +0100 (2009-01-17) |
parents | cdf8d9da6786 |
children | edff6143952d |
files | flex/receipt |
line diff
1.1 --- a/flex/receipt Sat Jan 17 12:13:41 2009 +0000 1.2 +++ b/flex/receipt Sat Jan 17 14:08:21 2009 +0100 1.3 @@ -1,13 +1,11 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="flex" 1.7 -VERSION="2.5.33" 1.8 +VERSION="2.5.35" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Flex is a fast lexical analyser generator." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 -DEPENDS="" 1.13 BUILD_DEPENDS="m4" 1.14 -WANTED="" 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 WEB_SITE="http://flex.sourceforge.net/" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 @@ -16,20 +14,21 @@ 1.19 compile_rules() 1.20 { 1.21 cd $src 1.22 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.23 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.24 - make && 1.25 + ./configure \ 1.26 + --prefix=/usr \ 1.27 + --infodir=/usr/share/info \ 1.28 + --mandir=/usr/share/man \ 1.29 + $CONFIGURE_ARGS 1.30 + make 1.31 make DESTDIR=$PWD/_pkg install 1.32 } 1.33 1.34 # Rules to gen a SliTaz package suitable for Tazpkg. 1.35 genpkg_rules() 1.36 { 1.37 - mkdir -p $fs/usr/share/locale 1.38 + mkdir -p $fs/usr 1.39 cp -a $_pkg/usr/bin $fs/usr 1.40 ln -s flex $fs/usr/bin/lex 1.41 cp -a $_pkg/usr/lib $fs/usr 1.42 cp -a $_pkg/usr/include $fs/usr 1.43 - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.44 - strip -s $fs/usr/bin/* 1.45 }