wok-next view libfm/receipt @ rev 18293
Up: tazpkg(836)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 15 17:42:43 2015 +0300 (2015-08-15) |
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 }