# SliTaz package receipt.

PACKAGE="xerces-c"
VERSION="3.1.1"
CATEGORY="development"
SHORT_DESC="A validating XML parser written in a portable subset of C++."
MAINTAINER="rcx@zoominternet.net"
DEPENDS="glibc-base gcc-lib-base libcurl libcrypto icu"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://xerces.apache.org/xerces-c"
WGET_URL="http://apache.osuosl.org/xerces/c/3/sources/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	
	./configure $CONFIGURE_ARGS &&
	make $MAKEFLAGS &&
	make 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
	
	cp -a $_pkg/usr/bin $fs/usr
}