wok-6.x view pcmanfm/receipt @ rev 3652

up: claws-mail-vcalendar (2.0.5)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jul 06 23:01:31 2009 +0200 (2009-07-06)
parents 32255d6b635f
children 9d7ec81e4c94
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmanfm"
4 VERSION="0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Light and easy to use file manager."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ xorg gamin startup-notification dbus dbus-glib hal xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \
10 dbus-glib-dev dbus-dev startup-notification-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://pcmanfm.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 for i in ../stuff/*.patch
20 do
21 if [ -f done.$(basename $i) ]; then
22 continue
23 else
24 patch -p1 -i $i && touch done.$(basename $i)
25 fi
26 done
28 cp ../stuff/fr.po $src/po
30 ./configure \
31 --prefix=/usr \
32 --mandir=/usr/share/man \
33 --enable-hal \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$PWD/_pkg install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share
43 cp -a $_pkg/usr/bin $fs/usr
44 cp -a $_pkg/usr/share/mime $fs/usr/share
45 cp -a $_pkg/usr/share/pcmanfm $fs/usr/share
46 rm -rf $fs/usr/share/pcmanfm/icons
48 cp -a stuff/icons $fs/usr/share
49 cp -a stuff/mime $fs/usr/share
50 }
53 post_install()
54 {
55 # update mime-cache
56 echo "Updating mime-types database"
57 update-mime-database $1/usr/share/mime
58 }