wok-6.x view libfm/receipt @ rev 15441

Up: eio (1.7.9)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 05 20:57:45 2013 +0100 (2013-11-05)
parents fecd7bd46f8f
children 6aa2abac7209
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="1.1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="File manager library from LXDE."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pcmanfm.sourceforge.net"
11 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
14 zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache"
15 BUILD_DEPENDS="gtk+-dev gamin-dev shared-mime-info intltool dbus-glib-dev \
16 dbus-dev startup-notification-dev libxcb-dev xcb-util-dev menu-cache-dev \
17 expat-dev vala libgio-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --sysconfdir=/etc \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share
33 cp -a $install/etc $fs
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/share/libfm $fs/usr/share
37 cp -a $install/usr/share/mime $fs/usr/share
38 cp -a $install/usr/share/applications $fs/usr/share
39 }
41 post_install()
42 {
43 # update mime-cache
44 echo "Updating mime-types database"
45 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
46 }