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

Add iotop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 23 13:15:02 2014 +0200 (2014-08-23)
parents 36cbef89c581
children 81115f71b92f
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="1.2.1"
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"
13 GENERIC_MENUS="no"
15 SUGGESTED="gvfs"
16 DEPENDS="glib glibc-base libffi libgio menu-cache pcre zlib"
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 case "$ARCH" in
22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool gamin-dev vala"
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --sysconfdir=/etc \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/libfm/modules $fs/usr/share/libfm
38 cp -a $install/etc $fs
39 cp -a $install/usr/lib/libfm.so* $fs/usr/lib
40 cp -a $install/usr/lib/libfm-extra.so* $fs/usr/lib
41 cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules
42 cp -a $install/usr/share/libfm/*.list $fs/usr/share/libfm
43 sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf
44 }