wok view spacefm/receipt @ rev 12015

Add linux-nbd & linux-aoe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 06 11:55:34 2012 +0100 (2012-03-06)
parents
children 329b3d831d83
line source
1 # SliTaz package receipt.
3 PACKAGE="spacefm"
4 VERSION="0.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light, fast and easy to use file manager."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://spacefm.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
12 DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \
13 gtk+ startup-notification dbus dbus-glib gdk-pixbuf"
14 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
15 libxcb-dev xcb-util-dev expat-dev gdk-pixbuf-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --with-preferable-sudo=/usr/bin/subox \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share $fs/etc/spacefm
31 cp -a $install/usr/bin $fs/usr
32 for d in applications mime pixmaps spacefm
33 do
34 cp -a $install/usr/share/$d $fs/usr/share
35 done
36 cp $stuff/spacefm.conf $fs/etc/spacefm
37 }