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

libfm: add forgotten modules and Sakura support, remove garbage MIME info; pcmanfm: use full translated original .desktop files.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 29 18:52:28 2014 +0300 (2014-05-29)
parents 03d5ff1ebd83
children 6a42d6905970
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="1.2.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.xz"
10 WEB_SITE="http://pcmanfm.sourceforge.net"
11 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
15 zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache \
16 shared-mime-info"
17 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
18 libxcb-dev xcb-util-dev menu-cache-dev expat-dev libgio-dev \
19 shared-mime-info-dev"
21 # hand SliTaz arch and cross compilation
22 case "$SLITAZ_ARCH" in
23 i?86) DEPENDS="$DEPENDS gamin"
24 esac
26 case "$ARCH" in
27 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool gamin-dev vala"
28 esac
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 --sysconfdir=/etc \
35 $CONFIGURE_ARGS &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib $fs/usr/share
43 cp -a $install/etc $fs
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/lib/libfm $fs/usr/lib
47 cp -a $install/usr/share/libfm $fs/usr/share
48 cp -a $install/usr/share/applications $fs/usr/share
50 # add Sakura terminal
51 cat >> $fs/usr/share/libfm/terminals.list << EOT
53 [sakura]
54 open_arg=-e
55 desktop_id=sakura.desktop
56 EOT
57 }