wok-next diff popt/receipt @ rev 1833

php-*: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 10 17:20:52 2008 +0000 (2008-12-10)
parents cf22fee17710
children 98cbcc757c0e
line diff
     1.1 --- a/popt/receipt	Wed Feb 13 15:26:29 2008 +0100
     1.2 +++ b/popt/receipt	Wed Dec 10 17:20:52 2008 +0000
     1.3 @@ -1,20 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="popt"
     1.7 -VERSION="1.10.4"
     1.8 +VERSION="1.14"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Library for parsing command line options."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 -WEB_SITE="http://directory.fsf.org/project/popt/"
    1.14 -WGET_URL="http://rpm.net.in/mirror/rpm-4.4.x/$TARBALL"
    1.15 +WEB_SITE="http://rpm5.org/"
    1.16 +WGET_URL="http://freshmeat.net/redir/popt/72854/url_tgz/$TARBALL"
    1.17  
    1.18  # Rules to configure and make the package.
    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 +	./configure \
    1.25 +		--prefix=/usr \
    1.26 +		--infodir=/usr/share/info \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS
    1.29  	make
    1.30  	make DESTDIR=$PWD/_pkg install
    1.31  }
    1.32 @@ -22,9 +25,6 @@
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr/lib $fs/usr/share/locale
    1.37 +	mkdir -p $fs/usr/lib
    1.38  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.39 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.40 -	strip --strip-unneeded $fs/usr/lib/*
    1.41  }
    1.42 -