wok view pcmanfm/receipt @ rev 3979

Upgrade: glib/libgio (2.20.3 to 2.21.5)
author Matthew Sheets <rcx@zoominternet.net>
date Thu Aug 27 11:17:55 2009 +0000 (2009-08-27)
parents 9d7ec81e4c94
children 0588160a6878
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmanfm"
4 VERSION="0.5.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light and easy to use file manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base glib libgio libuuid libxcb xcb-util expat zlib fontconfig \
9 freetype gtk+ atk cairo pango pixman libpng gamin startup-notification dbus dbus-glib hal \
10 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXcomposite \
11 xorg-libXcursor xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
12 xorg-libXinerama xorg-libXrender"
13 BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \
14 dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev"
15 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WEB_SITE="http://pcmanfm.sourceforge.net/"
17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 for i in ../stuff/*.patch
24 do
25 if [ -f done.$(basename $i) ]; then
26 continue
27 else
28 patch -p1 -i $i && touch done.$(basename $i)
29 fi
30 done
32 cp ../stuff/fr.po $src/po
34 ./configure \
35 --prefix=/usr \
36 --mandir=/usr/share/man \
37 --enable-hal \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$PWD/_pkg install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share
47 cp -a $_pkg/usr/bin $fs/usr
48 cp -a $_pkg/usr/share/mime $fs/usr/share
49 cp -a $_pkg/usr/share/pcmanfm $fs/usr/share
50 rm -rf $fs/usr/share/pcmanfm/icons
51 }
53 post_install()
54 {
55 # update mime-cache
56 echo "Updating mime-types database"
57 update-mime-database $1/usr/share/mime
58 }