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

Unification of the patch system
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 21:12:00 2018 +0300 (2018-05-10)
parents 10df65db91ad
children 5d10d266ccef
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 cp $stuff/fr.po $src/po
25 ./configure \
26 --enable-hal \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make -j1 install || return 1
32 # XDG autostart desktop file (lxsession will use it automaticaly)
33 install -Dm644 $stuff/autostart/pcmanfm.desktop $fs/etc/xdg/autostart/pcmanfm.desktop
34 }
36 genpkg_rules() {
37 copy @std
38 DEPENDS="glibc-base glib util-linux-uuid xorg-libxcb xorg-xcb-util expat \
39 zlib fontconfig freetype gtk+ atk cairo pango xorg-pixman libpng16 gamin \
40 startup-notification dbus dbus-glib hal xorg-libICE xorg-libSM xorg-libX11 \
41 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
42 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender \
43 hicolor-icon-theme shared-mime-info"
44 TAGS="file-manager"
45 }