# HG changeset patch # User Pascal Bellard # Date 1307358636 -7200 # Node ID 6c41ae96a36bb881ef853d1ca064a6545a1318ff # Parent a232d3bffb2aa358bdff32ad834688b9b72a0191 Add xmlrpc-c diff -r a232d3bffb2a -r 6c41ae96a36b xmlrpc-c-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xmlrpc-c-dev/receipt Mon Jun 06 13:10:36 2011 +0200 @@ -0,0 +1,16 @@ +# SliTaz package receipt. + +PACKAGE="xmlrpc-c-dev" +VERSION="1.16.35" +CATEGORY="development" +SHORT_DESC="A lightweight RPC library based on XML and HTTP, development files." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://xmlrpc-c.sourceforge.net/" +WANTED="xmlrpc-c" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/* $fs/ + rm -f $fs/usr/lib/*.so* +} diff -r a232d3bffb2a -r 6c41ae96a36b xmlrpc-c/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xmlrpc-c/receipt Mon Jun 06 13:10:36 2011 +0200 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="xmlrpc-c" +VERSION="1.16.35" +CATEGORY="network" +SHORT_DESC="A lightweight RPC library based on XML and HTTP." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://xmlrpc-c.sourceforge.net/" +TARBALL="$PACKAGE-$VERSION.tgz" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +DEPENDS="gcc-lib-base" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +}