wok-6.x rev 17585

Fix: icu packaging
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 08 21:26:53 2015 +0000 (2015-02-08)
parents c5db15c56bd6
children 0f72b1c158cf
files icu-dev/receipt icu/receipt
line diff
     1.1 --- a/icu-dev/receipt	Sun Feb 08 21:01:57 2015 +0000
     1.2 +++ b/icu-dev/receipt	Sun Feb 08 21:26:53 2015 +0000
     1.3 @@ -14,11 +14,8 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/lib $fs/usr/share
     1.8 +	mkdir -p $fs/usr/lib
     1.9  	cp -a $install/usr/include $fs/usr
    1.10  	cp -a $install/usr/lib/icu $fs/usr/lib
    1.11 -	cp -a $install/usr/bin $fs/usr
    1.12 -	chmod +x $fs/usr/bin/*
    1.13 -	cp -a $install/usr/sbin $fs/usr
    1.14 -	cp -a $install/usr/share/icu $fs/usr/share
    1.15 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.16  }
     2.1 --- a/icu/receipt	Sun Feb 08 21:01:57 2015 +0000
     2.2 +++ b/icu/receipt	Sun Feb 08 21:26:53 2015 +0000
     2.3 @@ -16,20 +16,24 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cd $src/source
     2.7 -	sed -i 's/dirname -- /dirname/' configure
     2.8 -	{
     2.9 +	#sed -i 's/dirname -- /dirname/' configure
    2.10 +	#{
    2.11  	./configure \
    2.12  		--disable-tests \
    2.13  		--disable-samples \
    2.14 +		--enable-auto-cleanup \
    2.15  		$CONFIGURE_ARGS &&
    2.16  	make &&
    2.17  	make DESTDIR=$DESTDIR install
    2.18 -	} 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|'
    2.19 +	#} 2>&1 | sed -e 's|\(./config.*\)No such file|\1no such file|'
    2.20  }
    2.21  
    2.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.23  genpkg_rules()
    2.24  {
    2.25 -	mkdir -p $fs/usr/lib
    2.26 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.27  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.28 +	cp -a $install/usr/bin $fs/usr/
    2.29 +	cp -a $install/usr/sbin $fs/usr/
    2.30 +	cp -a $install/usr/share/icu $fs/usr/share
    2.31  }