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

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