wok-current view libfm/receipt @ rev 17561
Up: gnutls 3.3.12
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Fri Feb 06 22:54:07 2015 +0000 (2015-02-06) |
parents | 01e2544c615c |
children | 7c93da2b8357 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="1.2.3"
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 patch -p0 -i $stuff/empty-file.patch
30 ./configure \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/libfm/modules $fs/usr/share/libfm
40 cp -a $install/etc $fs
41 cp -a $install/usr/lib/libfm.so* $fs/usr/lib
42 cp -a $install/usr/lib/libfm-extra.so* $fs/usr/lib
43 cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules
44 cp -a $install/usr/share/libfm/*.list $fs/usr/share/libfm
45 sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf
46 }