# SliTaz package receipt.

PACKAGE="xmlrpc-c"
VERSION="1.16.36"
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
}