wok-next view pcmanfm/receipt @ rev 20718

paulstretch: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:09:21 2018 +0300 (2018-05-27)
parents 757d032c55c7
children cedb51a0e63e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcmanfm"
4 VERSION="1.3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light and easy to use file manager"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.lxde.org/en/PCManFM"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxde/pcmanfm.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 #WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL"
14 WGET_URL="http://git.lxde.org/gitweb/?p=lxde/pcmanfm.git;a=snapshot;h=$VERSION;sf=txz"
16 BUILD_DEPENDS_arm="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
17 xorg-libxcb-dev xorg-xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk \
18 gtk-doc libtool"
19 BUILD_DEPENDS="intltool xorg-libX11-dev pango-dev libfm-dev gtk+-dev automake"
21 compile_rules() {
22 # tarball from git.lxde.org requires this step
23 [ -e "$src/configure" ] || ./autogen.sh
25 ./configure $CONFIGURE_ARGS &&
26 make &&
27 make install || return 1
29 mkdir -p $install/etc/xdg/pcmanfm/
30 # default settings
31 cp -r $stuff/default/ $install/etc/xdg/pcmanfm/
32 # XDG autostart desktop file (lxsession will use it automatically)
33 cp -r $stuff/autostart/ $install/etc/xdg/
34 # add custom actions
35 mkdir -p $install/usr/share/file-manager
36 cp -r $stuff/actions/ $install/usr/share/file-manager
37 install -m755 $stuff/gvfs-mount-archive.sh $install/usr/bin
39 # avoid warning about missed modules dir
40 mkdir -p $install/usr/lib/pcmanfm
41 }
43 genpkg_rules() {
44 copy @std
45 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libfm \
46 libfm-gtk pango xorg-libX11"
47 SUGGESTED="gvfs"
48 TAGS="file-manager"
49 }