wok-6.x view libfm/receipt @ rev 18391
Add: WIP open-vm-tools (10.0.0)
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Fri Sep 18 23:31:50 2015 +0000 (2015-09-18) |
parents | b65606697305 |
children | 63bb4b41e580 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="7daeaf3"
5 CATEGORY="system-tools"
6 SHORT_DESC="File management support (core library)"
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 WGET_URL="http://git.lxde.org/gitweb/?p=lxde/libfm.git;a=snapshot;h=$VERSION;sf=txz"
13 HOST_ARCH="i486 arm"
14 GENERIC_MENUS="no"
16 SUGGESTED="gvfs"
17 DEPENDS="glib glibc-base libffi libgio menu-cache pcre zlib"
18 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
19 libxcb-dev xcb-util-dev menu-cache-dev expat-dev libgio-dev \
20 shared-mime-info-dev gtk-doc libtool"
22 case "$ARCH" in
23 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool gamin-dev vala"
24 esac
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh
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 # define terminal
46 sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf
47 # set small & pane icon size to 16
48 sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' $fs/etc/xdg/libfm/libfm.conf
49 }