wok-6.x view pcmanfm2/receipt @ rev 13278
Compress modules with xz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 23 19:24:51 2012 +0200 (2012-08-23) |
parents | 08eee30bdf5f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmanfm2"
4 VERSION="1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light and easy to use file manager."
7 MAINTAINER="pankso@slitaz.org"
8 SOURCE="pcmanfm"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pcmanfm.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$SOURCE/files/$TARBALL"
13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
14 zlib fontconfig freetype gtk+ startup-notification dbus dbus-glib libfm"
15 BUILD_DEPENDS="gtk+-dev shared-mime-info intltool dbus-glib-dev dbus-dev \
16 startup-notification-dev libxcb-dev xcb-util-dev libfm-dev menu-cache-dev \
17 expat-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
23 export LDFLAGS="-Wl,--copy-dt-needed-entries"
25 cd $src
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share $fs/etc/xdg/pcmanfm
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/pcmanfm $fs/usr/share
36 cp -a $stuff/default $fs/etc/xdg/pcmanfm
37 }