wok-next view libfm/receipt @ rev 14395
ecore: update deps+bdeps +tags (e18 release is scheduled next month)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 17:23:33 2013 +0200 (2013-04-23) |
parents | 42fe21299957 |
children | 4904e3d374a9 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://pcmanfm.sourceforge.net"
10 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
12 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
13 zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache"
14 BUILD_DEPENDS="gtk+-dev gamin-dev shared-mime-info intltool dbus-glib-dev \
15 dbus-dev startup-notification-dev libxcb-dev xcb-util-dev menu-cache-dev \
16 expat-dev vala libgio-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --sysconfdir=/etc \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $install/etc $fs
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 cp -a $install/usr/share/libfm $fs/usr/share
36 cp -a $install/usr/share/mime $fs/usr/share
37 cp -a $install/usr/share/applications $fs/usr/share
38 }
40 post_install()
41 {
42 # update mime-cache
43 echo "Updating mime-types database"
44 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
45 }