wok-next annotate pcmanfm-legacy/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5669e8b3be70
children
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="https://wiki.lxde.org/en/PCManFM"
al@20604 10
al@20717 11 TARBALL="pcmanfm-$VERSION.tar.bz2"
al@20717 12 WGET_URL="$SF_MIRROR/pcmanfm/$TARBALL"
pankso@13349 13
al@21017 14 BUILD_DEPENDS="gtk2-dev gamin-dev gamin shared-mime-info intltool hal-dev \
al@21078 15 dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev \
al@21078 16 libx11-dev 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@21105 37 DEPENDS="libcairo dbus dbus-glib gamin gdk-pixbuf glib gtk2 hal pango \
al@21078 38 startup-notification libx11 hicolor-icon-theme shared-mime-info"
al@20604 39 TAGS="file-manager"
pankso@13349 40 }