wok-6.x diff xfce4-ristretto/receipt @ rev 4867

Add: xfce4-ristretto
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 04 22:33:41 2010 +0100 (2010-02-04)
parents
children 413b0174114a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xfce4-ristretto/receipt	Thu Feb 04 22:33:41 2010 +0100
     1.3 @@ -0,0 +1,47 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="xfce4-ristretto"
     1.7 +VERSION="0.0.22"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Picture-viewer for Xfce "
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="libxfce4util libxfcegui4 libexif dbus-glib thunar"
    1.12 +BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libexif-dev dbus-glib-dev thunar-dev"
    1.13 +SOURCE="ristretto"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://goodies.xfce.org/projects/applications/ristretto"
    1.16 +WGET_URL="http://goodies.xfce.org/releases/ristretto/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--infodir=/usr/share/info \
    1.25 +		--mandir=/usr/share/man \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make && make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr \
    1.34 +		$fs/usr/share/icons/hicolor \
    1.35 +		$fs/usr/share/pixmaps 
    1.36 +				
    1.37 +	cp -a $_pkg/usr/bin $fs/usr
    1.38 +	cp -a $_pkg/usr/share/icons/hicolor/16* $fs/usr/share/icons/hicolor
    1.39 +	cp -a $_pkg/usr/share/icons/hicolor/22* $fs/usr/share/icons/hicolor
    1.40 +	cp -a $_pkg/usr/share/icons/hicolor/32* $fs/usr/share/icons/hicolor
    1.41 +	
    1.42 +	cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
    1.43 +}
    1.44 +
    1.45 +post_install()
    1.46 +{
    1.47 +	echo "Execute post-install command"
    1.48 +	gtk-update-icon-cache -f -t -q $1/usr/share/icons/hicolor
    1.49 +}
    1.50 +