wok-next view pcmanfm/receipt @ rev 19879
qemacs: does not need gcc3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 04 18:36:44 2017 +0200 (2017-10-04) |
parents | 511f2f28cee1 |
children | 60bd4df08f57 |
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="http://pcmanfm.sourceforge.net/"
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 }