wok-4.x rev 11659
xfe, Improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 12 22:40:16 2012 +0100 (2012-02-12) |
parents | 850218586bdf |
children | 1f96baa9197b |
files | xfe/receipt |
line diff
1.1 --- a/xfe/receipt Sun Feb 12 21:20:34 2012 +0100 1.2 +++ b/xfe/receipt Sun Feb 12 22:40:16 2012 +0100 1.3 @@ -6,34 +6,37 @@ 1.4 SHORT_DESC="Xfe File manager and utility using Fox toolkit." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.7 +WEB_SITE="http://roland65.free.fr/xfe/" 1.8 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.9 +SUGGESTED="adie calculator shutterbug xfe-extras" 1.10 + 1.11 DEPENDS="libpng jpeg tiff xorg-libXft fox" 1.12 BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev intltool" 1.13 -SUGGESTED="adie calculator shutterbug" 1.14 -WEB_SITE="http://roland65.free.fr/xfe/" 1.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 + 1.17 +GENERIC_MENUS=no 1.18 + 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 cd $src 1.24 - ./configure \ 1.25 - --prefix=/usr \ 1.26 - --mandir=/usr/share/man \ 1.27 - $CONFIGURE_ARGS && 1.28 - make && 1.29 - make DESTDIR=$PWD/_pkg install 1.30 + ./configure $CONFIGURE_ARGS && make && make install 1.31 + 1.32 } 1.33 1.34 # Rules to gen a SliTaz package suitable for Tazpkg. 1.35 genpkg_rules() 1.36 { 1.37 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons 1.38 - cp -a $_pkg/usr/bin/$PACKAGE $fs/usr/bin 1.39 - cp -a $_pkg/usr/share/xfe/xferc $fs/usr/share/xfe 1.40 + cp -a $install/usr/bin/$PACKAGE $fs/usr/bin 1.41 + cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe 1.42 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc 1.43 # Tango/Gnome icons theme only 1.44 cp -a $_pkg/usr/share/xfe/icons/tango-theme \ 1.45 $fs/usr/share/xfe/icons 1.46 cp -a $_pkg/usr/share/xfe/icons/gnome-theme \ 1.47 $fs/usr/share/xfe/icons 1.48 + 1.49 + # Remove unwanted desktop menus. 1.50 +# rm -f $fs/usr/share/applications/xf[i,v,p,w].desktop 1.51 }