wok-next annotate 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
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libfm"
psychomaniak@19559 4 VERSION="1.2.5"
pascal@11205 5 CATEGORY="system-tools"
al@17992 6 SHORT_DESC="File management support (core library)"
pascal@11205 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
al@19693 9 WEB_SITE="http://pcmanfm.sourceforge.net"
al@19693 10 HOST_ARCH="i486 arm"
al@19693 11 CONFIG_FILES="/etc/xdg/libfm/libfm.conf"
al@19693 12 GENERIC_MENUS="no"
al@19693 13 SUGGESTED="gvfs"
al@19693 14
pankso@15750 15 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@19037 16 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
pankso@11897 17
al@19693 18 DEPENDS="glib libexif libffi libfm-extra libgio menu-cache pcre zlib"
al@19693 19 BUILD_DEPENDS="vala intltool gtk+-dev menu-cache-dev libexif-dev gtk-doc"
al@19693 20 BUILD_DEPENDS_arm="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
pankso@16315 21 libxcb-dev xcb-util-dev menu-cache-dev expat-dev libgio-dev \
al@19693 22 shared-mime-info-dev"
al@19693 23 SIBLINGS="libfm-extra"
al@19693 24 SPLIT="libfm-gtk libfm-dev"
pankso@16276 25
pankso@16276 26 case "$ARCH" in
al@19693 27 arm*) BUILD_DEPENDS=$BUILD_DEPENDS_arm;;
pankso@16276 28 esac
pascal@11205 29
pascal@11205 30 # Rules to configure and make the package.
pascal@11205 31 compile_rules()
pascal@11205 32 {
pascal@11205 33 ./configure \
pascal@11205 34 --sysconfdir=/etc \
al@19693 35 --disable-static \
al@19693 36 --enable-gtk-doc \
pascal@11205 37 $CONFIGURE_ARGS &&
pankso@11897 38 make && make install
pascal@11205 39 }
pascal@11205 40
pascal@11205 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 42 genpkg_rules()
pascal@11205 43 {
al@19693 44 cook_copy_folders etc
al@19693 45 cook_copy_files libfm.so* vfs*.so *.list
al@19693 46
al@19693 47 # extend xarchiver mime_types
psychomaniak@18499 48 sed "s|application/deb;$|&application/x-xz-compressed-tar;|" -i \
psychomaniak@18497 49 $fs/usr/share/libfm/archivers.list
al@17963 50 # define terminal
al@17963 51 sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf
al@17963 52 # set small & pane icon size to 16
al@17963 53 sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' $fs/etc/xdg/libfm/libfm.conf
pascal@11205 54 }