wok view libfm/receipt @ rev 16259

ARM: add gob2 gmrun slock
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 05 07:05:11 2014 +0200 (2014-04-05)
parents 4904e3d374a9
children 8139105f9285
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="1.1.4"
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.xz"
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 }