wok-next annotate pcmanfm-legacy/receipt @ rev 20938
Update MATE 1.20
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Aug 26 05:08:11 2018 +0300 (2018-08-26) |
parents | d6378d455338 |
children | f48456621a9d |
rev | line source |
---|---|
al@20604 | 1 # SliTaz package receipt v2. |
pankso@13349 | 2 |
pascal@13351 | 3 PACKAGE="pcmanfm-legacy" |
pankso@13349 | 4 VERSION="0.5.2" |
pankso@13349 | 5 CATEGORY="system-tools" |
al@20604 | 6 SHORT_DESC="Light and easy to use file manager" |
pankso@13349 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@20604 | 9 WEB_SITE="http://pcmanfm.sourceforge.net/" |
al@20604 | 10 |
al@20717 | 11 TARBALL="pcmanfm-$VERSION.tar.bz2" |
al@20717 | 12 WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL" |
pankso@13349 | 13 |
pankso@13349 | 14 BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \ |
al@20450 | 15 dbus-glib-dev dbus-dev startup-notification-dev xorg-libxcb-dev xorg-xcb-util-dev \ |
al@20450 | 16 xorg-xcb-util xorg-libX11-dev xorg-libXt-dev" |
pankso@13349 | 17 |
al@20604 | 18 compile_rules() { |
pankso@13349 | 19 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lXt" |
pankso@13349 | 21 |
pankso@13349 | 22 cp $stuff/fr.po $src/po |
pankso@13349 | 23 |
pankso@13349 | 24 ./configure \ |
pankso@13349 | 25 --enable-hal \ |
pankso@13349 | 26 $CONFIGURE_ARGS && |
al@20604 | 27 fix libtool && |
al@20604 | 28 make && |
al@20604 | 29 make -j1 install || return 1 |
al@20604 | 30 |
al@20604 | 31 # XDG autostart desktop file (lxsession will use it automaticaly) |
al@20604 | 32 install -Dm644 $stuff/autostart/pcmanfm.desktop $fs/etc/xdg/autostart/pcmanfm.desktop |
pankso@13349 | 33 } |
pankso@13349 | 34 |
al@20604 | 35 genpkg_rules() { |
al@20604 | 36 copy @std |
al@20717 | 37 DEPENDS="cairo dbus dbus-glib gamin gdk-pixbuf glib gtk+ hal pango \ |
al@20717 | 38 startup-notification xorg-libX11 hicolor-icon-theme shared-mime-info" |
al@20604 | 39 TAGS="file-manager" |
pankso@13349 | 40 } |