wok view pcmanfm/receipt @ rev 1137

Fix post_install for subdir install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 24 12:27:06 2008 +0000 (2008-07-24)
parents b3238730ba5e
children c205d9aa6509
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"
9 BUILD_DEPENDS="gtk+-dev gamin-dev startup-notification-dev
10 shared-mime-info intltool"
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 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/mime $fs/usr/share
33 cp -a $_pkg/usr/share/pcmanfm $fs/usr/share
34 rm -rf $fs/usr/share/pcmanfm/icons
35 }