# HG changeset patch
# User Christophe Lincoln <pankso@slitaz.org>
# Date 1397831412 -7200
# Node ID e7a7ba4d40c44cacd82bbb42ee14140d59c68931
# Parent  dd38b4c08c8d47620e2f960f7641a78f498054f5
slitaz-tools: work around due to buggy 5.8 Makefile

diff -r dd38b4c08c8d -r e7a7ba4d40c4 slitaz-tools/receipt
--- a/slitaz-tools/receipt	Fri Apr 18 15:56:37 2014 +0200
+++ b/slitaz-tools/receipt	Fri Apr 18 16:30:12 2014 +0200
@@ -32,6 +32,7 @@
 # Rules to configure and make the package.
 compile_rules()
 {
+	mkdir -p $DESTDIR/usr/share
 	make && make DESTDIR=$DESTDIR install
 }
 
@@ -40,6 +41,11 @@
 {
 	mkdir -p $fs
 	cp -a $install/* $fs
+	
+	# Fix for 5.8
+	rm -rf $fs/usr/usr
+	cp ${src}/doc $fs/usr/share
+	
 	chmod 0644 $fs/usr/share/locale/*/*/*.mo
 	chown -R root.root $fs
 }