wok-4.x rev 10821

Add xmlrpc-c
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 13:10:36 2011 +0200 (2011-06-06)
parents a232d3bffb2a
children c2353f85a1d4
files xmlrpc-c-dev/receipt xmlrpc-c/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xmlrpc-c-dev/receipt	Mon Jun 06 13:10:36 2011 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xmlrpc-c-dev"
     1.7 +VERSION="1.16.35"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A lightweight RPC library based on XML and HTTP, development files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://xmlrpc-c.sourceforge.net/"
    1.12 +WANTED="xmlrpc-c"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	cp -a $_pkg/* $fs/
    1.18 +	rm -f $fs/usr/lib/*.so*
    1.19 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xmlrpc-c/receipt	Mon Jun 06 13:10:36 2011 +0200
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="xmlrpc-c"
     2.7 +VERSION="1.16.35"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="A lightweight RPC library based on XML and HTTP."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://xmlrpc-c.sourceforge.net/"
    2.12 +TARBALL="$PACKAGE-$VERSION.tgz"
    2.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.14 +DEPENDS="gcc-lib-base"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	./configure --prefix=/usr --infodir=/usr/share/info \
    2.21 +		--mandir=/usr/share/man \
    2.22 +		$CONFIGURE_ARGS &&
    2.23 +	make &&
    2.24 +	make DESTDIR=$DESTDIR install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr/lib
    2.31 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.32 +}