# SliTaz package receipt.

PACKAGE="icu"
VERSION="68.2"
CATEGORY="system-tools"
SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
MAINTAINER="pankso@slitaz.org"
SOURCE="icu4c"
TARBALL="$SOURCE-${VERSION//./_}-src.tgz"
WEB_SITE="http://www.icu-project.org/"
WGET_URL="http://github.com/unicode-org/icu/releases/download/release-${VERSION//./-}/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src/source
	./configure \
		--disable-tests \
		--disable-samples \
		$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
}