wok-next annotate xfe/receipt @ rev 15649

Up: hubbub (0.1.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 10 16:06:02 2013 +0000 (2013-12-10)
parents 9b07ff23fcc3
children 0514c1f0caa8
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"
pascal@15000 8 LICENSE="GPL2"
pankso@2781 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@11659 10 WEB_SITE="http://roland65.free.fr/xfe/"
erjo@11659 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@11659 12 SUGGESTED="adie calculator shutterbug xfe-extras"
erjo@11659 13
pankso@2781 14 DEPENDS="libpng jpeg tiff xorg-libXft fox"
gokhlayeh@11468 15 BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev intltool"
erjo@11659 16
erjo@11659 17 GENERIC_MENUS=no
erjo@11659 18
pankso@2781 19
pankso@2781 20 # Rules to configure and make the package.
pankso@2781 21 compile_rules()
pankso@2781 22 {
pankso@2781 23 cd $src
erjo@11659 24 ./configure $CONFIGURE_ARGS && make && make install
erjo@11659 25
pankso@2781 26 }
pankso@2781 27
pankso@2781 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2781 29 genpkg_rules()
pankso@2781 30 {
pankso@2781 31 mkdir -p $fs/usr/bin $fs/usr/share/xfe/icons
erjo@11659 32 cp -a $install/usr/bin/$PACKAGE $fs/usr/bin
erjo@11659 33 cp -a $install/usr/share/xfe/xferc $fs/usr/share/xfe
pankso@2781 34 sed -i 's/gnomeblue-theme/tango-theme/' $fs/usr/share/xfe/xferc
pankso@2781 35 # Tango/Gnome icons theme only
pascal@15000 36 cp -a $install/usr/share/xfe/icons/tango-theme \
pankso@2781 37 $fs/usr/share/xfe/icons
pascal@15000 38 cp -a $install/usr/share/xfe/icons/gnome-theme \
pankso@2781 39 $fs/usr/share/xfe/icons
erjo@11659 40
erjo@11659 41 # Remove unwanted desktop menus.
erjo@11659 42 # rm -f $fs/usr/share/applications/xf[i,v,p,w].desktop
pankso@2781 43 }