wok-current view spacefm/receipt @ rev 17389
ncurses: depends on libtinfo & libtic
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 12:56:33 2014 +0100 (2014-11-27) |
parents | 252c39ceae1b |
children | 5d53e8ccbc8d |
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"
13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
14 gtk+ startup-notification dbus dbus-glib gdk-pixbuf udev bash udevil"
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 patch -Np1 -i $stuff/prefdlg.ui.diff
23 patch -Np1 -i $stuff/settings.h.diff
24 patch -Np1 -i $stuff/vfs-file-task.c.diff
26 ./configure \
27 --with-preferable-sudo="/usr/bin/subox" \
28 --disable-pixmaps \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share $fs/etc/spacefm
37 cp -a $install/usr/bin $fs/usr
38 for d in applications icons spacefm; do
39 cp -a $install/usr/share/$d $fs/usr/share
40 done
41 cp $stuff/spacefm.conf $fs/etc/spacefm
42 cp -a $stuff/xdg $fs/etc
43 # Faenza --> SliTaz
44 mv $fs/usr/share/icons/Faenza $fs/usr/share/icons/SliTaz
45 rm -rf $fs/usr/share/icons/hicolor/128x128
46 # /bin/bash --> /bin/sh
47 sed -i s'|/bin/bash|/bin/sh|'g $fs/usr/bin/spacefm-auth
48 }