wok-next view pcmanfm/receipt @ rev 20006
nginx-extras: update bdeps, vte-dev: add vte.pc
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 21 15:15:14 2017 +0200 (2017-10-21) |
parents | e44a1a92452b |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcmanfm"
4 VERSION="1.2.5"
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 HOST_ARCH="i486 arm"
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 libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev libfm-gtk gtk-doc \
18 libtool"
19 BUILD_DEPENDS="intltool xorg-libX11-dev pango-dev libfm-dev gtk+-dev automake"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # http://www.linuxfromscratch.org/blfs/view/stable/lxde/pcmanfm.html
26 # tarball from git.lxde.org requires this step
27 [ -e "$src/configure" ] || ./autogen.sh
29 ./configure \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make && make install &&
34 mkdir -p $install/etc/xdg/pcmanfm/ &&
35 # default settings
36 cp -r $stuff/default/ $install/etc/xdg/pcmanfm/ &&
37 # XDG autostart desktop file (lxsession will use it automatically)
38 cp -r $stuff/autostart/ $install/etc/xdg/ &&
39 # add custom actions
40 mkdir -p $install/usr/share/file-manager &&
41 cp -r $stuff/actions/ $install/usr/share/file-manager &&
42 install -m755 $stuff/gvfs-mount-archive.sh $install/usr/bin
44 # avoid warning about missed modules dir
45 mkdir -p $install/usr/lib/pcmanfm
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 copy @std
52 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libfm \
53 libfm-gtk pango xorg-libX11"
54 SUGGESTED="gvfs"
55 TAGS="file-manager"
56 }