wok-current annotate pcmanfm/receipt @ rev 16715
libfm: add forgotten modules and Sakura support, remove garbage MIME info; pcmanfm: use full translated original .desktop files.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 29 18:52:28 2014 +0300 (2014-05-29) |
parents | 8139105f9285 |
children | 010aa327b1b5 |
rev | line source |
---|---|
pankso@255 | 1 # SliTaz package receipt. |
pankso@255 | 2 |
pascal@13351 | 3 PACKAGE="pcmanfm" |
pankso@16276 | 4 VERSION="1.2.0" |
pankso@255 | 5 CATEGORY="system-tools" |
pankso@255 | 6 SHORT_DESC="Light and easy to use file manager." |
pankso@255 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
pankso@16276 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@12544 | 10 WEB_SITE="http://pcmanfm.sourceforge.net/" |
pascal@13351 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL" |
pankso@16276 | 12 HOST_ARCH="i486 arm" |
pankso@12544 | 13 |
pankso@16276 | 14 SUGGESTED="gvfs" |
pankso@12481 | 15 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \ |
pankso@16276 | 16 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm" |
pankso@16276 | 17 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \ |
pankso@16276 | 18 libxcb-dev xcb-util-dev libfm-dev menu-cache-dev expat-dev" |
pankso@16276 | 19 |
pankso@16276 | 20 # Handle cross compilation. |
pankso@16276 | 21 case "$ARCH" in |
pankso@16276 | 22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS shared-mime-info intltool gvfs-dev" ;; |
pankso@16276 | 23 esac |
pankso@255 | 24 |
pankso@255 | 25 # Rules to configure and make the package. |
pankso@255 | 26 compile_rules() |
pankso@255 | 27 { |
pankso@12544 | 28 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pankso@13349 | 29 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pankso@16276 | 30 |
pankso@13349 | 31 ./configure $CONFIGURE_ARGS && |
pankso@12544 | 32 make && make install |
pankso@255 | 33 } |
pankso@255 | 34 |
pankso@255 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@255 | 36 genpkg_rules() |
pankso@255 | 37 { |
pankso@13349 | 38 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm |
pankso@12544 | 39 cp -a $install/usr/bin $fs/usr |
al@16715 | 40 cp -a $install/usr/share/applications $fs/usr/share |
pankso@12544 | 41 cp -a $install/usr/share/pcmanfm $fs/usr/share |
pankso@13349 | 42 cp -a $stuff/default $fs/etc/xdg/pcmanfm |
pankso@12561 | 43 |
al@16715 | 44 # XDG autostart desktop file (lxsession will use it automatically) |
pankso@12561 | 45 cp -a $stuff/autostart $fs/etc/xdg |
pankso@255 | 46 } |