# SliTaz package receipt.

PACKED_SIZE="100.0K"
UNPACKED_SIZE="328.0K"
PACKAGE="pcre"
VERSION="8.30"
CATEGORY="system-tools"
SHORT_DESC="Perl Compatible Regular Expressions."
MAINTAINER="pankso@slitaz.org"
LICENSE="BSD"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.pcre.org/"
WGET_URL="ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$TARBALL"
HOST_ARCH="i486 arm"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--enable-utf \
		--enable-unicode-properties \
		$CONFIGURE_ARGS &&
	make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $install/usr/lib/*.so* $fs/usr/lib
}
