wok-next view spacefm/receipt @ rev 20623

Our udev is old, current udev is a part of systemd; use eudev instead of (old) udev
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 25 22:28:07 2018 +0300 (2018-04-25)
parents 10df65db91ad
children b1a1deb20f42
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://ignorantguru.github.io/spacefm/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
15 xorg-libxcb-dev xorg-xcb-util-dev expat-dev gdk-pixbuf-dev intltool eudev-dev \
16 coreutils-file-special"
18 compile_rules() {
19 patch -Np1 -i $stuff/prefdlg.ui.diff
20 patch -Np1 -i $stuff/settings.h.diff
21 patch -Np1 -i $stuff/vfs-file-task.c.diff
23 ./configure \
24 --with-preferable-sudo="/usr/bin/subox" \
25 --disable-pixmaps \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 install -Dm644 $stuff/spacefm.conf $install/etc/spacefm/spacefm.conf
32 install -Dm644 $stuff/xdg/autostart/spacefm.desktop $install/etc/autostart/spacefm.desktop
33 install -Dm644 $stuff/xdg/spacefm/session $install/etc/xdg/spacefm/session
35 # /bin/bash --> /bin/sh
36 sed -i 's|/bin/bash|/bin/sh|g' $install/usr/bin/spacefm-auth
37 }
39 genpkg_rules() {
40 copy @std @ico
41 DEPENDS="glibc-base glib util-linux-uuid xorg-libxcb xorg-xcb-util expat \
42 gtk+ startup-notification dbus dbus-glib gdk-pixbuf eudev bash udevil"
43 TAGS="file-manager"
44 }