# HG changeset patch # User Eric Joseph-Alexandre # Date 1329082816 -3600 # Node ID 9b07ff23fcc34f17996c1e82cc95b33b3aaa4121 # Parent 850218586bdf68c6ca6b08301ab27d2795a1160a xfe, Improve receipt diff -r 850218586bdf -r 9b07ff23fcc3 xfe/receipt --- a/xfe/receipt Sun Feb 12 21:20:34 2012 +0100 +++ b/xfe/receipt Sun Feb 12 22:40:16 2012 +0100 @@ -6,34 +6,37 @@ SHORT_DESC="Xfe File manager and utility using Fox toolkit." MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://roland65.free.fr/xfe/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +SUGGESTED="adie calculator shutterbug xfe-extras" + DEPENDS="libpng jpeg tiff xorg-libXft fox" BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev intltool" -SUGGESTED="adie calculator shutterbug" -WEB_SITE="http://roland65.free.fr/xfe/" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +GENERIC_MENUS=no + # Rules to configure and make the package. compile_rules() { cd $src - ./configure \ - --prefix=/usr \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install + ./configure $CONFIGURE_ARGS && make && make install + } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons - cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin - cp -a $_pkg/usr/share/xfe/xferc $fs/usr/share/xfe + cp -a $install/usr/bin/$PACKAGE $fs/usr/bin + cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc # Tango/Gnome icons theme only cp -a $_pkg/usr/share/xfe/icons/tango-theme \ $fs/usr/share/xfe/icons cp -a $_pkg/usr/share/xfe/icons/gnome-theme \ $fs/usr/share/xfe/icons + + # Remove unwanted desktop menus. +# rm -f $fs/usr/share/applications/xf[i,v,p,w].desktop }