wok annotate spacefm/receipt @ rev 12516

Up: xorg-libXtst (1.2.1) + clean receipt
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 00:01:48 2012 +0200 (2012-04-25)
parents 329b3d831d83
children 4510e539d085
rev   line source
pankso@11898 1 # SliTaz package receipt.
pankso@11898 2
pankso@11898 3 PACKAGE="spacefm"
pankso@11898 4 VERSION="0.7.0"
pankso@11898 5 CATEGORY="system-tools"
pankso@11898 6 SHORT_DESC="Light, fast and easy to use file manager."
pankso@11898 7 MAINTAINER="pankso@slitaz.org"
pankso@11898 8 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@11898 9 WEB_SITE="http://spacefm.sourceforge.net/"
pankso@11898 10 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
pankso@11898 11
pankso@12481 12 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
pankso@11898 13 gtk+ startup-notification dbus dbus-glib gdk-pixbuf"
pankso@11898 14 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
gokhlayeh@12108 15 libxcb-dev xcb-util-dev expat-dev gdk-pixbuf-dev intltool"
pankso@11898 16
pankso@11898 17 # Rules to configure and make the package.
pankso@11898 18 compile_rules()
pankso@11898 19 {
pankso@11898 20 cd $src
pankso@11898 21 ./configure \
pankso@11898 22 --with-preferable-sudo=/usr/bin/subox \
pankso@11898 23 $CONFIGURE_ARGS &&
pankso@11898 24 make && make install
pankso@11898 25 }
pankso@11898 26
pankso@11898 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@11898 28 genpkg_rules()
pankso@11898 29 {
pankso@11898 30 mkdir -p $fs/usr/share $fs/etc/spacefm
pankso@11898 31 cp -a $install/usr/bin $fs/usr
pankso@11898 32 for d in applications mime pixmaps spacefm
pankso@11898 33 do
pankso@11898 34 cp -a $install/usr/share/$d $fs/usr/share
pankso@11898 35 done
pankso@11898 36 cp $stuff/spacefm.conf $fs/etc/spacefm
pankso@11898 37 }