wok-next annotate pcmanfm/receipt @ rev 15147
jed: filter wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 13:01:55 2013 +0000 (2013-08-15) |
parents | 0c50858636e4 |
children | 6aa2abac7209 |
rev | line source |
---|---|
pankso@255 | 1 # SliTaz package receipt. |
pankso@255 | 2 |
pascal@13351 | 3 PACKAGE="pcmanfm" |
pankso@13559 | 4 VERSION="1.1.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" |
pascal@13351 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@12544 | 10 WEB_SITE="http://pcmanfm.sourceforge.net/" |
pascal@13351 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$TARBALL" |
pankso@12544 | 12 |
pankso@12481 | 13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \ |
pankso@13559 | 14 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm gvfs" |
pankso@13349 | 15 BUILD_DEPENDS="gtk+-dev shared-mime-info intltool dbus-glib-dev dbus-dev \ |
pankso@13349 | 16 startup-notification-dev libxcb-dev xcb-util-dev libfm-dev menu-cache-dev \ |
pankso@13349 | 17 expat-dev" |
pankso@255 | 18 |
pankso@255 | 19 # Rules to configure and make the package. |
pankso@255 | 20 compile_rules() |
pankso@255 | 21 { |
pankso@12544 | 22 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pankso@13349 | 23 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pankso@12544 | 24 |
pankso@255 | 25 cd $src |
pankso@13349 | 26 ./configure $CONFIGURE_ARGS && |
pankso@12544 | 27 make && make install |
pankso@255 | 28 } |
pankso@255 | 29 |
pankso@255 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@255 | 31 genpkg_rules() |
pankso@255 | 32 { |
pankso@13349 | 33 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm |
pankso@12544 | 34 cp -a $install/usr/bin $fs/usr |
pankso@12544 | 35 cp -a $install/usr/share/pcmanfm $fs/usr/share |
pankso@13349 | 36 cp -a $stuff/default $fs/etc/xdg/pcmanfm |
pankso@12561 | 37 |
pankso@12561 | 38 # XDG autostart desktop file (lxsession will use it automaticaly) |
pankso@12561 | 39 cp -a $stuff/autostart $fs/etc/xdg |
pankso@255 | 40 } |