wok-6.x annotate pcmanfm/receipt @ rev 1203
postfix: set default localhost
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 08 16:47:03 2008 +0000 (2008-08-08) |
parents | b3238730ba5e |
children | c205d9aa6509 |
rev | line source |
---|---|
pankso@255 | 1 # SliTaz package receipt. |
pankso@255 | 2 |
pankso@255 | 3 PACKAGE="pcmanfm" |
pankso@1078 | 4 VERSION="0.5" |
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@255 | 8 DEPENDS="gtk+ xorg gamin startup-notification" |
pankso@965 | 9 BUILD_DEPENDS="gtk+-dev gamin-dev startup-notification-dev |
pankso@965 | 10 shared-mime-info intltool" |
pankso@255 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@255 | 12 WEB_SITE="http://pcmanfm.sourceforge.net/" |
pankso@255 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@255 | 14 |
pankso@255 | 15 # Rules to configure and make the package. |
pankso@255 | 16 compile_rules() |
pankso@255 | 17 { |
pankso@255 | 18 cd $src |
pankso@255 | 19 ./configure \ |
pankso@255 | 20 --prefix=/usr \ |
pankso@255 | 21 --mandir=/usr/share/man \ |
pankso@255 | 22 $CONFIGURE_ARGS |
pankso@255 | 23 make |
pankso@255 | 24 make DESTDIR=$PWD/_pkg install |
pankso@255 | 25 } |
pankso@255 | 26 |
pankso@255 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@255 | 28 genpkg_rules() |
pankso@255 | 29 { |
pankso@255 | 30 mkdir -p $fs/usr/share |
pankso@255 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@255 | 32 cp -a $_pkg/usr/share/mime $fs/usr/share |
pankso@255 | 33 cp -a $_pkg/usr/share/pcmanfm $fs/usr/share |
pankso@671 | 34 rm -rf $fs/usr/share/pcmanfm/icons |
pankso@255 | 35 } |