wok-6.x view libfm/receipt @ rev 18009
slitaz-base-files: up (270)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 30 02:11:11 2015 +0300 (2015-04-30) |
parents | 7c93da2b8357 |
children | b65606697305 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="1.2.3"
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 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 # 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 }