wok-6.x diff xfe/receipt @ rev 14647

xorg: Use SOURCE Variable Aleksey.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Jun 03 06:58:16 2013 +0000 (2013-06-03)
parents e184b5f434c0
children 380ffe05937a
line diff
     1.1 --- a/xfe/receipt	Sat Dec 17 11:45:19 2011 +0100
     1.2 +++ b/xfe/receipt	Mon Jun 03 06:58:16 2013 +0000
     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  }