wok-6.x diff flex/receipt @ rev 4268
gdb: fix build with gcc-4.x
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 18:21:42 2009 +0200 (2009-09-25) |
parents | 3d99ecce2d4b |
children | 7cb52edaecc3 |
line diff
1.1 --- a/flex/receipt Sun Oct 05 23:16:15 2008 +0000 1.2 +++ b/flex/receipt Fri Sep 25 18:21:42 2009 +0200 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 }