wok view pcmanfm/receipt @ rev 3594

gajim: revert patch host_srv.patch(use bind-client/host not busybox/nslookup)
author Liu Peng <rocky@slitaz.org>
date Sun Jun 28 13:47:18 2009 +0000 (2009-06-28)
parents e829f657b054
children bbc5a7a78a11
line source
1 # SliTaz package receipt.
3 PACKED_SIZE="8.0k"
4 UNPACKED_SIZE="4.0k"
5 PACKAGE="pcmanfm"
6 VERSION="0.5"
7 CATEGORY="system-tools"
8 SHORT_DESC="Light and easy to use file manager."
9 MAINTAINER="pankso@slitaz.org"
10 DEPENDS="gtk+ xorg gamin startup-notification dbus dbus-glib hal xorg-libXdamage"
11 BUILD_DEPENDS="gtk+-dev gamin-dev gamin
12 shared-mime-info intltool hal-dev dbus-glib-dev dbus-dev startup-notification-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://pcmanfm.sourceforge.net/"
15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 for i in ../stuff/*.patch
22 do
23 if [ -f done.$(basename $i) ]; then
24 continue
25 else
26 patch -p1 -i $i && touch done.$(basename $i)
27 fi
28 done
30 cp ../stuff/fr.po $src/po
32 ./configure \
33 --prefix=/usr \
34 --mandir=/usr/share/man \
35 --enable-hal \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$PWD/_pkg install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
45 cp -a $_pkg/usr/bin $fs/usr
46 cp -a $_pkg/usr/share/mime $fs/usr/share
47 cp -a $_pkg/usr/share/pcmanfm $fs/usr/share
48 rm -rf $fs/usr/share/pcmanfm/icons
50 cp -a stuff/icons $fs/usr/share
51 cp -a stuff/mime $fs/usr/share
52 }
55 post_install()
56 {
57 # update mime-cache
58 echo "Updating mime-types database"
59 update-mime-database $1/usr/share/mime
60 }