wok rev 16442

slitaz-tools: work around due to buggy 5.8 Makefile
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 16:30:12 2014 +0200 (2014-04-18)
parents dd38b4c08c8d
children fc790c298ba1
files slitaz-tools/receipt
line diff
     1.1 --- a/slitaz-tools/receipt	Fri Apr 18 15:56:37 2014 +0200
     1.2 +++ b/slitaz-tools/receipt	Fri Apr 18 16:30:12 2014 +0200
     1.3 @@ -32,6 +32,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	mkdir -p $DESTDIR/usr/share
     1.8  	make && make DESTDIR=$DESTDIR install
     1.9  }
    1.10  
    1.11 @@ -40,6 +41,11 @@
    1.12  {
    1.13  	mkdir -p $fs
    1.14  	cp -a $install/* $fs
    1.15 +	
    1.16 +	# Fix for 5.8
    1.17 +	rm -rf $fs/usr/usr
    1.18 +	cp ${src}/doc $fs/usr/share
    1.19 +	
    1.20  	chmod 0644 $fs/usr/share/locale/*/*/*.mo
    1.21  	chown -R root.root $fs
    1.22  }