wok view pcmanfm/receipt @ rev 13349

pcmanfm 1.0 is default and old 0.5 serie is pcmanfm-legacy
author Christophe Lincoln <pankso@slitaz.org>
date Fri Sep 07 15:35:29 2012 +0200 (2012-09-07)
parents 4474bd4465a3
children 2f1b673c2701
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmanfm2"
4 VERSION="1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light and easy to use file manager."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="pcmanfm"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pcmanfm.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$SOURCE/files/$TARBALL"
13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
14 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm"
15 BUILD_DEPENDS="gtk+-dev shared-mime-info intltool dbus-glib-dev dbus-dev \
16 startup-notification-dev libxcb-dev xcb-util-dev libfm-dev menu-cache-dev \
17 expat-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
23 export LDFLAGS="-Wl,--copy-dt-needed-entries"
25 cd $src
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/pcmanfm $fs/usr/share
36 cp -a $stuff/default $fs/etc/xdg/pcmanfm
38 # XDG autostart desktop file (lxsession will use it automaticaly)
39 cp -a $stuff/autostart $fs/etc/xdg
40 }