wok-undigest view libfm/receipt @ rev 149
Moved strigi to cooking wok
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 30 19:18:05 2010 +0200 (2010-05-30) |
parents | eb3e54044036 |
children | df176d5bf80a |
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="0.1.11"
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 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/gio/modules
34 cp -a $_pkg/etc $fs
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/gio/modules/*.so $fs/usr/lib/gio/modules
38 }
40 post_install()
41 {
42 # update mime-cache
43 echo "Updating mime-types database"
44 update-mime-database $1/usr/share/mime
45 }