wok-next view spacefm/receipt @ rev 20838

prosody: does not find lua5.1
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Jun 17 20:22:11 2018 +0000 (2018-06-17)
parents 5c189fc65a98
children f48456621a9d
line source
1 # SliTaz package receipt v2.
3 PACKAGE="spacefm"
4 VERSION="1.0.6"
5 CATEGORY="meta"
6 SHORT_DESC="Multi-panel tabbed file and desktop manager"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://ignorantguru.github.io/spacefm/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/IgnorantGuru/spacefm/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="intltool gtk+-dev gtk+3-dev startup-notification-dev eudev-dev \
15 ffmpegthumbnailer-dev"
16 SPLIT="spacefm spacefm-gtk2:gtk2 spacefm-gtk3:gtk3"
18 compile_rules() {
19 case $SET in
20 '') rm -r $src; mkdir $install; return 0;;
21 gtk2) SET_ARGS='--with-gtk2';;
22 gtk3) SET_ARGS='--with-gtk3';;
23 esac
25 ./configure \
26 --with-preferable-sudo=/usr/bin/subox \
27 $SET_ARGS \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make MKDIRPROG='mkdir -p' install || return 1
33 install -Dm644 $stuff/spacefm-desktop-pref.desktop \
34 $install/usr/share/applications/spacefm-desktop-pref.desktop
35 install -Dm644 $stuff/xdg/autostart/spacefm.desktop \
36 $install/etc/xdg/autostart/spacefm.desktop
37 install -Dm644 $stuff/xdg/spacefm/session \
38 $install/etc/xdg/spacefm/session
40 # useless file, it adds nothing useful to Freedesktop's shared-mime-info
41 rm -r $install/usr/share/mime/
42 }
44 genpkg_rules() {
45 case $PACKAGE in
46 spacefm)
47 CAT="meta|empty meta-package"
48 DEPENDS="spacefm-gtk2"
49 ;;
50 spacefm-gtk2)
51 copy @std @ico
52 CAT="system-tools|with GTK+2 interface"
53 DEPENDS="cairo eudev ffmpegthumbnailer gdk-pixbuf glib gtk+ pango \
54 startup-notification xorg-libX11 bash"
55 TAGS="file-manager"
56 ;;
57 spacefm-gtk3)
58 copy @std @ico
59 CAT="system-tools|with GTK+3 interface"
60 DEPENDS="cairo eudev ffmpegthumbnailer gdk-pixbuf glib gtk+3 pango \
61 startup-notification xorg-libX11 bash"
62 TAGS="file-manager"
63 ;;
64 esac
65 }