wok-stable rev 4058

Fix missing pth-dev package
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 10 00:14:35 2009 +0200 (2009-09-10)
parents e3e2ae8e9c2e
children de51af17bfe3
files pth-dev/receipt pth/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pth-dev/receipt	Thu Sep 10 00:14:35 2009 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pth-dev"
     1.7 +VERSION="2.0.7"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="PTH devel files."
    1.10 +MAINTAINER="fraazz@altern.org"
    1.11 +WANTED="pth"
    1.12 +WEB_SITE="http://www.gnu.org/software/pth/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.18 +	cp -a $_pkg/usr/bin $fs/usr
    1.19 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/include $fs/usr
    1.21 +	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.22 +}
     2.1 --- a/pth/receipt	Wed Sep 09 23:23:01 2009 +0200
     2.2 +++ b/pth/receipt	Thu Sep 10 00:14:35 2009 +0200
     2.3 @@ -14,9 +14,11 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cd $src
     2.7 -	./configure --prefix=/usr --infodir=/usr/share/info \
     2.8 -	--mandir=/usr/share/man $CONFIGURE_ARGS
     2.9 -	make
    2.10 +	./configure \
    2.11 +		--prefix=/usr \
    2.12 +		--mandir=/usr/share/man \
    2.13 +		$CONFIGURE_ARGS &&
    2.14 +	make &&
    2.15  	make DESTDIR=$PWD/_pkg install
    2.16  }
    2.17  
    2.18 @@ -24,7 +26,6 @@
    2.19  genpkg_rules()
    2.20  {
    2.21  	mkdir -p $fs/usr/lib
    2.22 -	cp -a $_pkg/usr/bin $fs/usr
    2.23  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.24  }
    2.25