wok-undigest view libfm/receipt @ rev 97
Add libcanberra and brasero (please fix)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon May 03 13:46:43 2010 +0000 (2010-05-03) |
parents | |
children | 919c2dd79494 |
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"
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 }