wok-next view pcmanfm-legacy/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcmanfm-legacy"
4 VERSION="0.5.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light and easy to use file manager"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.lxde.org/en/PCManFM"
11 TARBALL="pcmanfm-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev gamin-dev gamin shared-mime-info intltool hal-dev \
15 dbus-glib-dev dbus-dev startup-notification-dev xorg-libxcb-dev xorg-xcb-util-dev \
16 xorg-xcb-util xorg-libX11-dev xorg-libXt-dev"
18 compile_rules() {
19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt"
22 cp $stuff/fr.po $src/po
24 ./configure \
25 --enable-hal \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make -j1 install || return 1
31 # XDG autostart desktop file (lxsession will use it automaticaly)
32 install -Dm644 $stuff/autostart/pcmanfm.desktop $fs/etc/xdg/autostart/pcmanfm.desktop
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="cairo dbus dbus-glib gamin gdk-pixbuf glib gtk2 hal pango \
38 startup-notification xorg-libX11 hicolor-icon-theme shared-mime-info"
39 TAGS="file-manager"
40 }