wok-6.x rev 15318

icu: remove a wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 17:42:38 2013 +0000 (2013-09-27)
parents c19e615aaeeb
children fe747cfe0009
files icu-dev/receipt icu/receipt
line diff
     1.1 --- a/icu-dev/receipt	Fri Sep 27 17:24:45 2013 +0000
     1.2 +++ b/icu-dev/receipt	Fri Sep 27 17:42:38 2013 +0000
     1.3 @@ -4,19 +4,21 @@
     1.4  VERSION="4.6.1"
     1.5  CATEGORY="development"
     1.6  SHORT_DESC="Devel files for ICU lib."
     1.7 -DEPENDS="icu gcc-lib-base"
     1.8  WANTED="icu"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10 +LICENSE="MIT"
    1.11  WEB_SITE="http://www.icu-project.org/"
    1.12  
    1.13 +DEPENDS="icu gcc-lib-base"
    1.14 +
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {
    1.18  	mkdir -p $fs/usr/lib $fs/usr/share
    1.19 -	cp -a $_pkg/usr/include $fs/usr
    1.20 -	cp -a $_pkg/usr/lib/icu $fs/usr/lib
    1.21 -	cp -a $_pkg/usr/bin $fs/usr
    1.22 +	cp -a $install/usr/include $fs/usr
    1.23 +	cp -a $install/usr/lib/icu $fs/usr/lib
    1.24 +	cp -a $install/usr/bin $fs/usr
    1.25  	chmod +x $fs/usr/bin/*
    1.26 -	cp -a $_pkg/usr/sbin $fs/usr
    1.27 -	cp -a $_pkg/usr/share/icu $fs/usr/share
    1.28 +	cp -a $install/usr/sbin $fs/usr
    1.29 +	cp -a $install/usr/share/icu $fs/usr/share
    1.30  }
     2.1 --- a/icu/receipt	Fri Sep 27 17:24:45 2013 +0000
     2.2 +++ b/icu/receipt	Fri Sep 27 17:42:38 2013 +0000
     2.3 @@ -5,6 +5,7 @@
     2.4  CATEGORY="system-tools"
     2.5  SHORT_DESC="C/C++ and Java libraries providing Unicode and Globalization."
     2.6  MAINTAINER="pankso@slitaz.org"
     2.7 +LICENSE="MIT"
     2.8  SOURCE="icu4c"
     2.9  TARBALL="$SOURCE-${VERSION//./_}-src.tgz"
    2.10  WEB_SITE="http://www.icu-project.org/"
    2.11 @@ -16,17 +17,19 @@
    2.12  {
    2.13  	cd $src/source
    2.14  	sed -i 's/dirname -- /dirname/' configure
    2.15 +	{
    2.16  	./configure \
    2.17  		--disable-tests \
    2.18  		--disable-samples \
    2.19  		$CONFIGURE_ARGS &&
    2.20  	make &&
    2.21  	make DESTDIR=$DESTDIR install
    2.22 +	} 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|'
    2.23  }
    2.24  
    2.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.26  genpkg_rules()
    2.27  {
    2.28  	mkdir -p $fs/usr/lib
    2.29 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.31  }