wok view spacefm/receipt @ rev 13607

spacefm: add and improve custom config files and add desktop file fot destop pref
author Christophe Lincoln <pankso@slitaz.org>
date Sat Nov 10 20:00:42 2012 +0100 (2012-11-10)
parents 88a3eb3bc7b7
children 59f046be5e44
line source
1 # SliTaz package receipt.
3 PACKAGE="spacefm"
4 VERSION="0.8.2"
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"
11 SUGGESTED="udevil"
13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
14 gtk+ startup-notification dbus dbus-glib gdk-pixbuf udev"
15 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
16 libxcb-dev xcb-util-dev expat-dev gdk-pixbuf-dev intltool udev-dev \
17 coreutils-file-special"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --with-preferable-sudo="/usr/bin/subox" \
25 --disable-pixmaps \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share $fs/etc/spacefm
34 cp -a $install/usr/bin $fs/usr
35 for d in applications mime icons spacefm
36 do
37 cp -a $install/usr/share/$d $fs/usr/share
38 done
39 cp $stuff/spacefm.conf $fs/etc/spacefm
40 cp -a $stuff/xdg $fs/etc
41 # Faenza --> SliTaz
42 mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz
43 rm -rf $fs/usr/share/icons/hicolor/128x128
44 # /bin/bash --> /bin/sh
45 sed -i s'|/bin/bash|/bin/sh|'g $fs/usr/bin/spacefm-auth
46 }