wok-6.x annotate libfm/receipt @ rev 18086

Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 23 16:17:14 2015 +0300 (2015-05-23)
parents 7c93da2b8357
children b65606697305
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libfm"
psychomaniak@17229 4 VERSION="1.2.3"
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"
pankso@15750 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@11897 10 WEB_SITE="http://pcmanfm.sourceforge.net"
pankso@11897 11 WGET_URL="$SF_MIRROR/pcmanfm/files/$TARBALL"
pankso@16276 12 HOST_ARCH="i486 arm"
al@16830 13 GENERIC_MENUS="no"
pankso@11897 14
al@16830 15 SUGGESTED="gvfs"
al@16830 16 DEPENDS="glib glibc-base libffi libgio menu-cache pcre zlib"
pankso@16276 17 BUILD_DEPENDS="gtk+-dev dbus-glib-dev dbus-dev startup-notification-dev \
pankso@16315 18 libxcb-dev xcb-util-dev menu-cache-dev expat-dev libgio-dev \
al@16880 19 shared-mime-info-dev"
pankso@16276 20
pankso@16276 21 case "$ARCH" in
pankso@16315 22 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool gamin-dev vala"
pankso@16276 23 esac
pascal@11205 24
pascal@11205 25 # Rules to configure and make the package.
pascal@11205 26 compile_rules()
pascal@11205 27 {
al@17295 28 patch -p0 -i $stuff/empty-file.patch
al@17295 29
pascal@11205 30 ./configure \
pascal@11205 31 --sysconfdir=/etc \
pascal@11205 32 $CONFIGURE_ARGS &&
pankso@11897 33 make && make install
pascal@11205 34 }
pascal@11205 35
pascal@11205 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 37 genpkg_rules()
pascal@11205 38 {
al@16830 39 mkdir -p $fs/usr/lib/libfm/modules $fs/usr/share/libfm
pankso@11897 40 cp -a $install/etc $fs
al@16830 41 cp -a $install/usr/lib/libfm.so* $fs/usr/lib
al@16830 42 cp -a $install/usr/lib/libfm-extra.so* $fs/usr/lib
al@16830 43 cp -a $install/usr/lib/libfm/modules/vfs* $fs/usr/lib/libfm/modules
al@16830 44 cp -a $install/usr/share/libfm/*.list $fs/usr/share/libfm
al@17963 45 # define terminal
al@17963 46 sed -i 2i\ 'terminal=terminal' $fs/etc/xdg/libfm/libfm.conf
al@17963 47 # set small & pane icon size to 16
al@17963 48 sed -i 's|\(\(small\|pane\)_icon_size=\).*|\116|' $fs/etc/xdg/libfm/libfm.conf
pascal@11205 49 }