wok annotate xfe/receipt @ 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 e184b5f434c0
children 380ffe05937a
rev   line source
pankso@2781 1 # SliTaz package receipt.
pankso@2781 2
pankso@2781 3 PACKAGE="xfe"
devl547@11312 4 VERSION="1.32.4"
pankso@2781 5 CATEGORY="system-tools"
pankso@2781 6 SHORT_DESC="Xfe File manager and utility using Fox toolkit."
pankso@2781 7 MAINTAINER="pankso@slitaz.org"
pankso@2781 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@11659 9 WEB_SITE="http://roland65.free.fr/xfe/"
erjo@11659 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@11659 11 SUGGESTED="adie calculator shutterbug xfe-extras"
erjo@11659 12
pankso@2781 13 DEPENDS="libpng jpeg tiff xorg-libXft fox"
gokhlayeh@11468 14 BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev intltool"
erjo@11659 15
erjo@11659 16 GENERIC_MENUS=no
erjo@11659 17
pankso@2781 18
pankso@2781 19 # Rules to configure and make the package.
pankso@2781 20 compile_rules()
pankso@2781 21 {
pankso@2781 22 cd $src
erjo@11659 23 ./configure $CONFIGURE_ARGS && make && make install
erjo@11659 24
pankso@2781 25 }
pankso@2781 26
pankso@2781 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2781 28 genpkg_rules()
pankso@2781 29 {
pankso@2781 30 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons
erjo@11659 31 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
erjo@11659 32 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
pankso@2781 33 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
pankso@2781 34 # Tango/Gnome icons theme only
pankso@2781 35 cp -a $_pkg/usr/share/xfe/icons/tango-theme \
pankso@2781 36 $fs/usr/share/xfe/icons
pankso@2781 37 cp -a $_pkg/usr/share/xfe/icons/gnome-theme \
pankso@2781 38 $fs/usr/share/xfe/icons
erjo@11659 39
erjo@11659 40 # Remove unwanted desktop menus.
erjo@11659 41 # rm -f $fs/usr/share/applications/xf[i,v,p,w].desktop
pankso@2781 42 }