wok-next view pcmanfm/receipt @ rev 11912
Add perl-test-nowarnings.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Feb 29 16:24:03 2012 -0500 (2012-02-29) |
parents | e944ad6db488 |
children | 08f24b59e966 |
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 hicolor-icon-theme"
14 BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \
15 dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev"
16 TARBALL="$PACKAGE-$VERSION.tar.bz2"
17 WEB_SITE="http://pcmanfm.sourceforge.net/"
18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 for i in $stuff/*.patch
25 do
26 if [ -f done.$(basename $i) ]; then
27 continue
28 else
29 patch -p0 < $i && touch done.$(basename $i) || return 1
30 fi
31 done
33 cp $stuff/fr.po $src/po
35 ./configure \
36 --prefix=/usr \
37 --mandir=/usr/share/man \
38 --enable-hal \
39 $CONFIGURE_ARGS &&
40 make &&
41 make -j1 DESTDIR=$PWD/_pkg install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/share/applications
48 cp -a $_pkg/usr/bin $fs/usr
49 cp -a $stuff/applications/pcmanf*.desktop $fs/usr/share/applications
50 cp -a $_pkg/usr/share/mime $fs/usr/share
51 cp -a $_pkg/usr/share/pcmanfm $fs/usr/share
52 rm -rf $fs/usr/share/pcmanfm/icons
53 }
55 post_install()
56 {
57 # update mime-cache
58 echo "Updating mime-types database"
59 update-mime-database $1/usr/share/mime
60 }