wok-current annotate pcmanfm/receipt @ rev 11744
Pcmanfm: minor fix on depends
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Wed Feb 22 01:45:45 2012 +0000 (2012-02-22) |
parents | e944ad6db488 |
children | 08f24b59e966 |
rev | line source |
---|---|
pankso@255 | 1 # SliTaz package receipt. |
pankso@255 | 2 |
pankso@255 | 3 PACKAGE="pcmanfm" |
pankso@4424 | 4 VERSION="0.5.2" |
pankso@255 | 5 CATEGORY="system-tools" |
pankso@255 | 6 SHORT_DESC="Light and easy to use file manager." |
pankso@255 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4424 | 8 DEPENDS="glibc-base glib libgio util-linux-ng-uuid libxcb xcb-util expat \ |
pankso@4424 | 9 zlib fontconfig freetype gtk+ atk cairo pango pixman libpng gamin \ |
pankso@4424 | 10 startup-notification dbus dbus-glib hal xorg-libICE xorg-libSM xorg-libX11 \ |
pankso@4424 | 11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp \ |
claudinei@11744 | 12 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender \ |
mojo@11717 | 13 hicolor-icon-theme" |
pankso@3600 | 14 BUILD_DEPENDS="gtk+-dev gamin-dev gamin shared-mime-info intltool hal-dev \ |
rcx@3722 | 15 dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev xcb-util-dev" |
rcx@3722 | 16 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@255 | 17 WEB_SITE="http://pcmanfm.sourceforge.net/" |
pankso@255 | 18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@255 | 19 |
pankso@255 | 20 # Rules to configure and make the package. |
pankso@255 | 21 compile_rules() |
pankso@255 | 22 { |
pankso@255 | 23 cd $src |
slaxemulator@9700 | 24 for i in $stuff/*.patch |
erjo@3584 | 25 do |
erjo@3584 | 26 if [ -f done.$(basename $i) ]; then |
pankso@3600 | 27 continue |
pankso@3600 | 28 else |
gokhlayeh@8615 | 29 patch -p0 < $i && touch done.$(basename $i) || return 1 |
erjo@3584 | 30 fi |
erjo@3584 | 31 done |
pankso@3600 | 32 |
slaxemulator@9700 | 33 cp $stuff/fr.po $src/po |
pankso@3600 | 34 |
pankso@255 | 35 ./configure \ |
pankso@255 | 36 --prefix=/usr \ |
pankso@255 | 37 --mandir=/usr/share/man \ |
erjo@1851 | 38 --enable-hal \ |
erjo@1851 | 39 $CONFIGURE_ARGS && |
erjo@1851 | 40 make && |
gokhlayeh@8255 | 41 make -j1 DESTDIR=$PWD/_pkg install |
pankso@255 | 42 } |
pankso@255 | 43 |
pankso@255 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@255 | 45 genpkg_rules() |
pankso@255 | 46 { |
pascal@11622 | 47 mkdir -p $fs/usr/share/applications |
pankso@255 | 48 cp -a $_pkg/usr/bin $fs/usr |
pascal@11622 | 49 cp -a $stuff/applications/pcmanf*.desktop $fs/usr/share/applications |
pankso@255 | 50 cp -a $_pkg/usr/share/mime $fs/usr/share |
pankso@255 | 51 cp -a $_pkg/usr/share/pcmanfm $fs/usr/share |
pankso@671 | 52 rm -rf $fs/usr/share/pcmanfm/icons |
pankso@255 | 53 } |
erjo@3584 | 54 |
erjo@3584 | 55 post_install() |
erjo@3584 | 56 { |
erjo@3584 | 57 # update mime-cache |
erjo@3584 | 58 echo "Updating mime-types database" |
erjo@3584 | 59 update-mime-database $1/usr/share/mime |
erjo@3584 | 60 } |