wok-6.x view pcmanfm/receipt @ rev 6177
Up: libgpg-error, libgpg-error-dev to 1.9.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Sep 10 12:58:22 2010 +0000 (2010-09-10) |
parents | 0588160a6878 |
children | 1808d3972a36 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pcmanfm"
4 VERSION="0.5.2"
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 util-linux-ng-uuid libxcb xcb-util expat \
9 zlib fontconfig freetype gtk+ atk cairo pango pixman libpng gamin \
10 startup-notification dbus dbus-glib hal xorg-libICE xorg-libSM xorg-libX11 \
11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \
12 xorg-libXext xorg-libXfixes 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 -p0 < $i && touch done.$(basename $i) || exit 1
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 }