wok-4.x view libfm/receipt @ rev 7604

mirror-tools: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 11 13:26:47 2010 +0100 (2010-12-11)
parents a30eb91de0a3
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="0.1.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="File manager library from LXDE."
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 menu-cache"
10 BUILD_DEPENDS="$DEPENDS gtk+-dev gamin-dev shared-mime-info intltool \
11 hal-dev dbus-glib-dev dbus-dev startup-notification-dev libxcb-dev \
12 xcb-util-dev menu-cache-dev expat-dev"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://pcmanfm.sourceforge.net"
15 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 chmod +x install-sh
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 --sysconfdir=/etc \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/gio/modules
35 cp -a $_pkg/etc $fs
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/gio/modules/*.so $fs/usr/lib/gio/modules
39 }
41 post_install()
42 {
43 # update mime-cache
44 echo "Updating mime-types database"
45 update-mime-database $1/usr/share/mime
46 }