wok rev 14325
notecase: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 08 09:02:42 2013 +0200 (2013-04-08) |
parents | 04a81f96cbb1 |
children | b541f38cb759 |
files | notecase/receipt |
line diff
1.1 --- a/notecase/receipt Mon Apr 08 08:52:11 2013 +0200 1.2 +++ b/notecase/receipt Mon Apr 08 09:02:42 2013 +0200 1.3 @@ -25,8 +25,9 @@ 1.4 sed -i /'HAVE_GNOME_VFS=1'/d Makefile 1.5 sed -i /'AUTODETECT_GTKSOURCEVIEW=1'/d Makefile 1.6 sed -i s/'install -D'/'install'/ Makefile 1.7 + sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile* 1.8 # Compile 1.9 - make 2>&1 | grep -v gtksourceview.h | grep -v './notecase/.' 1.10 + make 2>&1 | grep -v gtksourceview.h 1.11 # Locale trick (Makefile use install -D) 1.12 cd po 1.13 for i in `ls *.po | cut -f1 -d.` 1.14 @@ -35,7 +36,7 @@ 1.15 done 1.16 cd .. 1.17 # Install 1.18 - make DESTDIR=$PWD/_pkg install 1.19 + make DESTDIR=$DESTDIR install 1.20 } 1.21 1.22 # Rules to gen a SliTaz package suitable for Tazpkg. 1.23 @@ -43,7 +44,7 @@ 1.24 { 1.25 mkdir -p $fs/usr/share/applications 1.26 cp -a $stuff/notecase.desktop $fs/usr/share/applications 1.27 - cp -a $_pkg/usr/bin $fs/usr 1.28 - cp -a $_pkg/usr/share/mime $fs/usr/share 1.29 + cp -a $install/usr/bin $fs/usr 1.30 + cp -a $install/usr/share/mime $fs/usr/share 1.31 } 1.32