wok-next view libfm/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | aac6b4243788 |
children | e70c0b9c5adf |
line source
1 # SliTaz package receipt.
3 PACKAGE="libfm"
4 VERSION="1.2.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="File management support (core library)"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://pcmanfm.sourceforge.net"
10 HOST_ARCH="i486 arm"
11 CONFIG_FILES="/etc/xdg/libfm/libfm.conf"
12 GENERIC_MENUS="no"
13 SUGGESTED="gvfs"
15 TARBALL="$PACKAGE-$VERSION.tar.xz"
16 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
18 DEPENDS="glib libexif libffi libfm-extra libgio menu-cache pcre zlib"
19 BUILD_DEPENDS="vala intltool gtk+-dev menu-cache-dev libexif-dev gtk-doc"
20 BUILD_DEPENDS_arm="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
21 libxcb-dev xcb-util-dev menu-cache-dev expat-dev libgio-dev \
22 shared-mime-info-dev"
23 SIBLINGS="libfm-extra"
24 SPLIT="libfm-gtk libfm-dev"
26 case "$ARCH" in
27 arm*) BUILD_DEPENDS=$BUILD_DEPENDS_arm;;
28 esac
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 --sysconfdir=/etc \
35 --disable-static \
36 --enable-gtk-doc \
37 $CONFIGURE_ARGS &&
38 make && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cook_copy_folders etc
45 cook_copy_files libfm.so* vfs*.so *.list
47 # extend xarchiver mime_types
48 sed "s|application/deb;$|&application/x-xz-compressed-tar;|" -i \
49 $fs/usr/share/libfm/archivers.list
50 # define terminal
51 sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf
52 # set small & pane icon size to 16
53 sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' $fs/etc/xdg/libfm/libfm.conf
54 }