# HG changeset patch # User Pascal Bellard # Date 1347012057 -7200 # Node ID 9b389bb0a87364a2dbc998252ba08a75e1179c28 # Parent c10e7f955563a0a69edd9ebb94accb9498504055 Up nathive (again) diff -r c10e7f955563 -r 9b389bb0a873 nathive/receipt --- a/nathive/receipt Fri Sep 07 11:34:45 2012 +0200 +++ b/nathive/receipt Fri Sep 07 12:00:57 2012 +0200 @@ -5,37 +5,24 @@ CATEGORY="graphics" SHORT_DESC="lightweight image editor" MAINTAINER="jozee@slitaz.org" -DEPENDS="gtk+" -BUILD_DEPENDS="pkg-config gtk+-dev" TARBALL="$PACKAGE-$VERSION.tgz" WEB_SITE="http://www.nathive.org/" WGET_URL="${WEB_SITE}dl/$TARBALL" TAGS="image photo editor" +DEPENDS="gtk+ python" +BUILD_DEPENDS="pkg-config gtk+-dev python-dev coreutils-operations" + # Rules to configure and make the package. compile_rules() { cd $src - sed 's|"./"|"/usr/share/nathive/"|g' -i main.c - make + sed -i "s|^BASE.*|BASE = $DESTDIR/usr/|;s|nathive.sh|nathive.py|" makefile + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - mkdir -p $fs/usr/share/nathive - mkdir -p $fs/usr/share/applications - - cp -a $src/nathive $fs/usr/bin - - cp -a $src/cfg/ $src/img/ $src/palettes/ $src/text/ $fs/usr/share/nathive/ - #copy locale : it only adds 4k - cp -a $src/lang/ $fs/usr/share/nathive/ - # change owner and permissions - chown -R root.root $fs/usr/share/nathive - chmod -R 0755 $fs/usr/share/nathive - - cp -a $stuff/nathive.desktop $fs/usr/share/applications - + cp -a $install/usr $fs }