# HG changeset patch # User Pascal Bellard # Date 1365404562 -7200 # Node ID 9c2c99da19eac5fa8cee73da4ba25e5cb98b30e7 # Parent 04a81f96cbb118279d5ef9f0e91482eea960260e notecase: fix compile_rules diff -r 04a81f96cbb1 -r 9c2c99da19ea notecase/receipt --- a/notecase/receipt Mon Apr 08 08:52:11 2013 +0200 +++ b/notecase/receipt Mon Apr 08 09:02:42 2013 +0200 @@ -25,8 +25,9 @@ sed -i /'HAVE_GNOME_VFS=1'/d Makefile sed -i /'AUTODETECT_GTKSOURCEVIEW=1'/d Makefile sed -i s/'install -D'/'install'/ Makefile + sed -i 's/^DEBSIZE:=.*/DEBSIZE:=0/' Makefile* # Compile - make 2>&1 | grep -v gtksourceview.h | grep -v './notecase/.' + make 2>&1 | grep -v gtksourceview.h # Locale trick (Makefile use install -D) cd po for i in `ls *.po | cut -f1 -d.` @@ -35,7 +36,7 @@ done cd .. # Install - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -43,7 +44,7 @@ { mkdir -p $fs/usr/share/applications cp -a $stuff/notecase.desktop $fs/usr/share/applications - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/share/mime $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/share/mime $fs/usr/share }