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

perdition: up 2.2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 15:57:59 2018 +0300 (2018-04-19)
parents dd145c435e4b
children d6378d455338
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pcmanfm-legacy"
4 VERSION="0.5.2"
5 SOURCE="pcmanfm"
6 CATEGORY="system-tools"
7 SHORT_DESC="Light and easy to use file manager"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://pcmanfm.sourceforge.net/"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
15 BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \
16 dbus-glib-dev dbus-dev startup-notification-dev xorg-libxcb-dev xorg-xcb-util-dev \
17 xorg-xcb-util xorg-libX11-dev xorg-libXt-dev"
19 compile_rules() {
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt"
23 for i in $stuff/*.patch; do
24 [ -f done.$(basename $i) ] && continue
25 patch -p0 < $i && touch done.$(basename $i) || return 1
26 done
28 cp $stuff/fr.po $src/po
30 ./configure \
31 --enable-hal \
32 $CONFIGURE_ARGS &&
33 fix libtool &&
34 make &&
35 make -j1 install || return 1
37 # XDG autostart desktop file (lxsession will use it automaticaly)
38 install -Dm644 $stuff/autostart/pcmanfm.desktop $fs/etc/xdg/autostart/pcmanfm.desktop
39 }
41 genpkg_rules() {
42 copy @std
43 DEPENDS="glibc-base glib util-linux-uuid xorg-libxcb xorg-xcb-util expat \
44 zlib fontconfig freetype gtk+ atk cairo pango xorg-pixman libpng16 gamin \
45 startup-notification dbus dbus-glib hal xorg-libICE xorg-libSM xorg-libX11 \
46 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
47 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender \
48 hicolor-icon-theme shared-mime-info"
49 TAGS="file-manager"
50 }