wok view spacefm/receipt @ rev 16350

Up: tazweb (1.9) - Fixes and editable bookmarks!
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 13 02:34:25 2014 +0200 (2014-04-13)
parents a542c91dcb2f
children db124a8e80fe
line source
1 # SliTaz package receipt.
3 PACKAGE="spacefm"
4 VERSION="0.9.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light, fast and easy to use file manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://ignorantguru.github.io/spacefm/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
12 SUGGESTED="udevil"
14 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
15 gtk+ startup-notification dbus dbus-glib gdk-pixbuf udev"
16 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
17 libxcb-dev xcb-util-dev expat-dev gdk-pixbuf-dev intltool udev-dev \
18 coreutils-file-special"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 patch -Np1 -i $stuff/prefdlg.ui.diff
25 patch -Np1 -i $stuff/settings.h.diff
26 patch -Np1 -i $stuff/vfs-file-task.c.diff
28 # We dont want bash hardcoded
29 sed -i s'|/bin/bash|/bin/sh|'g src/*.c src/*.h src/*/*.c src/*/*.h
31 ./configure \
32 --with-preferable-sudo="/usr/bin/subox" \
33 --disable-pixmaps \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share $fs/etc/spacefm
42 cp -a $install/usr/bin $fs/usr
43 for d in applications mime icons spacefm
44 do
45 cp -a $install/usr/share/$d $fs/usr/share
46 done
47 cp $stuff/spacefm.conf $fs/etc/spacefm
48 cp -a $stuff/xdg $fs/etc
49 # Faenza --> SliTaz
50 mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz
51 rm -rf $fs/usr/share/icons/hicolor/128x128
52 # /bin/bash --> /bin/sh
53 sed -i s'|/bin/bash|/bin/sh|'g $fs/usr/bin/spacefm-auth
54 }