wok-next annotate pcmanfm2/receipt @ rev 12916
glibc-base: handle cross installation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 29 18:13:06 2012 +0000 (2012-05-29) |
parents | 73641efed1cc |
children | a5436459beca |
rev | line source |
---|---|
pascal@11560 | 1 # SliTaz package receipt. |
pascal@11560 | 2 |
pascal@11560 | 3 PACKAGE="pcmanfm2" |
pankso@11885 | 4 VERSION="0.9.10" |
pascal@11560 | 5 CATEGORY="system-tools" |
pascal@11560 | 6 SHORT_DESC="Light and easy to use file manager." |
pascal@11560 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11560 | 8 SOURCE="pcmanfm" |
pascal@11560 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11560 | 10 WEB_SITE="http://pcmanfm.sourceforge.net/" |
pascal@11560 | 11 WGET_URL="$SF_MIRROR/$SOURCE/files/$TARBALL" |
pascal@11560 | 12 |
pankso@12481 | 13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \ |
pankso@11885 | 14 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm" |
pankso@11885 | 15 BUILD_DEPENDS="gtk+-dev shared-mime-info intltool dbus-glib-dev dbus-dev \ |
pankso@11885 | 16 startup-notification-dev libxcb-dev xcb-util-dev libfm-dev menu-cache-dev \ |
pankso@11885 | 17 expat-dev" |
pankso@11885 | 18 |
pascal@11560 | 19 # Rules to configure and make the package. |
pascal@11560 | 20 compile_rules() |
pascal@11560 | 21 { |
pascal@12654 | 22 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12654 | 23 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pascal@12654 | 24 |
pascal@11560 | 25 cd $src |
pankso@11885 | 26 ./configure $CONFIGURE_ARGS && |
pankso@11885 | 27 make && make install |
pascal@11560 | 28 } |
pascal@11560 | 29 |
pascal@11560 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11560 | 31 genpkg_rules() |
pascal@11560 | 32 { |
pankso@11885 | 33 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm |
pankso@11885 | 34 cp -a $install/usr/bin $fs/usr |
pankso@11885 | 35 cp -a $install/usr/share/pcmanfm $fs/usr/share |
pankso@11885 | 36 cp -a $stuff/default $fs/etc/xdg/pcmanfm |
pascal@11560 | 37 } |