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

openssh: fix xauth path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 16 10:50:45 2014 +0200 (2014-06-16)
parents 03d5ff1ebd83
children 6a42d6905970
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libfm"
pankso@16276 4 VERSION="1.2.0"
pascal@11205 5 CATEGORY="system-tools"
pascal@11205 6 SHORT_DESC="File manager library from LXDE."
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"
pankso@11897 13
pankso@12481 14 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
pankso@16318 15 zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache \
pankso@16315 16 shared-mime-info"
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 \
pankso@16315 19 shared-mime-info-dev"
pankso@16276 20
pankso@16276 21 # hand SliTaz arch and cross compilation
pankso@16276 22 case "$SLITAZ_ARCH" in
pankso@16315 23 i?86) DEPENDS="$DEPENDS gamin"
pankso@16276 24 esac
pankso@16276 25
pankso@16276 26 case "$ARCH" in
pankso@16315 27 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool gamin-dev vala"
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 \
pascal@11205 35 $CONFIGURE_ARGS &&
pankso@11897 36 make && make install
pascal@11205 37 }
pascal@11205 38
pascal@11205 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 40 genpkg_rules()
pascal@11205 41 {
pankso@11897 42 mkdir -p $fs/usr/lib $fs/usr/share
pankso@11897 43 cp -a $install/etc $fs
pankso@11897 44 cp -a $install/usr/bin $fs/usr
pankso@11897 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@16715 46 cp -a $install/usr/lib/libfm $fs/usr/lib
pankso@11897 47 cp -a $install/usr/share/libfm $fs/usr/share
pankso@11897 48 cp -a $install/usr/share/applications $fs/usr/share
al@16715 49
al@16715 50 # add Sakura terminal
al@16715 51 cat >> $fs/usr/share/libfm/terminals.list << EOT
al@16715 52
al@16715 53 [sakura]
al@16715 54 open_arg=-e
al@16715 55 desktop_id=sakura.desktop
al@16715 56 EOT
pascal@11205 57 }