wok-next diff icu/receipt @ rev 19765

Up icu, libboost...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jun 12 11:39:09 2017 +0300 (2017-06-12)
parents f6c0e38da3b8
children 541d3328c02a
line diff
     1.1 --- a/icu/receipt	Sun Feb 08 21:26:53 2015 +0000
     1.2 +++ b/icu/receipt	Mon Jun 12 11:39:09 2017 +0300
     1.3 @@ -1,39 +1,36 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="icu"
     1.8 -VERSION="54.1"
     1.9 +VERSION="58.2"
    1.10  CATEGORY="system-tools"
    1.11 -SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
    1.12 +SHORT_DESC="International Components for Unicode"
    1.13  MAINTAINER="pankso@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 -SOURCE="icu4c"
    1.16 -TARBALL="$SOURCE-${VERSION//./_}-src.tgz"
    1.17 -WEB_SITE="http://www.icu-project.org/"
    1.18 -WGET_URL="http://download.icu-project.org/files/$SOURCE/$VERSION/$TARBALL"
    1.19 -#WGET_URL="http://www.sfr-fresh.com/unix/misc/$TARBALL"
    1.20 +WEB_SITE="http://site.icu-project.org/"
    1.21 +
    1.22 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.23 +WGET_URL="http://download.icu-project.org/files/icu4c/$VERSION/icu4c-${VERSION//./_}-src.tgz"
    1.24 +TARBALL_MD5="fac212b32b7ec7ab007a12dff1f3aea1"
    1.25 +
    1.26 +SPLIT="icu-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31  	cd $src/source
    1.32 -	#sed -i 's/dirname -- /dirname/' configure
    1.33 -	#{
    1.34 -	./configure \
    1.35 -		--disable-tests \
    1.36 -		--disable-samples \
    1.37 -		--enable-auto-cleanup \
    1.38 -		$CONFIGURE_ARGS &&
    1.39 -	make &&
    1.40 -	make DESTDIR=$DESTDIR install
    1.41 -	#} 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|'
    1.42 +	./configure $CONFIGURE_ARGS && make && make install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.49 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.50 -	cp -a $install/usr/bin $fs/usr/
    1.51 -	cp -a $install/usr/sbin $fs/usr/
    1.52 -	cp -a $install/usr/share/icu $fs/usr/share
    1.53 +	case $PACKAGE in
    1.54 +		icu)
    1.55 +			copy bin/ sbin/ *.so*
    1.56 +			;;
    1.57 +		*-dev)
    1.58 +			copy @std @dev
    1.59 +			remove_already_packed
    1.60 +			;;
    1.61 +	esac
    1.62  }