wok-6.x rev 15106

xmlrpc-c: create depend.mk files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 16:43:26 2013 +0000 (2013-08-14)
parents 52c9187f5ecb
children f0df0a15bf50
files xmlrpc-c-dev/receipt xmlrpc-c/receipt xorg-xclock/receipt
line diff
     1.1 --- a/xmlrpc-c-dev/receipt	Wed Aug 14 16:29:21 2013 +0000
     1.2 +++ b/xmlrpc-c-dev/receipt	Wed Aug 14 16:43:26 2013 +0000
     1.3 @@ -6,12 +6,13 @@
     1.4  SHORT_DESC="A lightweight RPC library based on XML and HTTP, development files."
     1.5  MAINTAINER="pascal.bellard@slitaz.org"
     1.6  WEB_SITE="http://xmlrpc-c.sourceforge.net/"
     1.7 +WANTED="xmlrpc-c"
     1.8 +
     1.9  DEPENDS="xmlrpc-c"
    1.10 -WANTED="xmlrpc-c"
    1.11  
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	cp -a $_pkg/* $fs/
    1.16 +	cp -a $install/* $fs/
    1.17  	rm -f $fs/usr/lib/*.so*
    1.18  }
     2.1 --- a/xmlrpc-c/receipt	Wed Aug 14 16:29:21 2013 +0000
     2.2 +++ b/xmlrpc-c/receipt	Wed Aug 14 16:43:26 2013 +0000
     2.3 @@ -8,12 +8,15 @@
     2.4  WEB_SITE="http://xmlrpc-c.sourceforge.net/"
     2.5  TARBALL="$PACKAGE-$VERSION.tgz"
     2.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     2.7 +
     2.8  DEPENDS="gcc-lib-base"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
    2.12  {
    2.13  	cd $src
    2.14 +	find -name 'Makefile*' | sed 's/Makefile.*/depend.mk/' | \
    2.15 +		xargs touch -d 197001010000
    2.16  	./configure --prefix=/usr --infodir=/usr/share/info \
    2.17  		--mandir=/usr/share/man \
    2.18  		$CONFIGURE_ARGS &&
    2.19 @@ -25,5 +28,5 @@
    2.20  genpkg_rules()
    2.21  {
    2.22  	mkdir -p $fs/usr/lib
    2.23 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.24 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.25  }
     3.1 --- a/xorg-xclock/receipt	Wed Aug 14 16:29:21 2013 +0000
     3.2 +++ b/xorg-xclock/receipt	Wed Aug 14 16:43:26 2013 +0000
     3.3 @@ -28,5 +28,4 @@
     3.4  {
     3.5  	mkdir -p $fs/usr/share
     3.6  	cp -a $install/usr/bin $fs/usr
     3.7 -	cp -a $install/usr/share/X11 $fs/usr/share
     3.8  }