wok annotate libfm/receipt @ rev 16189

ARM: add ruby!!!
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 30 19:39:55 2014 +0200 (2014-03-30)
parents 4904e3d374a9
children 8139105f9285
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libfm"
pankso@15750 4 VERSION="1.1.4"
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@11897 12
pankso@12481 13 DEPENDS="glibc-base glib libgio util-linux-uuid libxcb xcb-util expat \
pascal@11205 14 zlib fontconfig freetype gtk+ atk cairo pango pixman menu-cache"
pankso@13558 15 BUILD_DEPENDS="gtk+-dev gamin-dev shared-mime-info intltool dbus-glib-dev \
pankso@13558 16 dbus-dev startup-notification-dev libxcb-dev xcb-util-dev menu-cache-dev \
pankso@13558 17 expat-dev vala libgio-dev"
pascal@11205 18
pascal@11205 19 # Rules to configure and make the package.
pascal@11205 20 compile_rules()
pascal@11205 21 {
pascal@11205 22 cd $src
pascal@11205 23 ./configure \
pascal@11205 24 --sysconfdir=/etc \
pascal@11205 25 $CONFIGURE_ARGS &&
pankso@11897 26 make && make install
pascal@11205 27 }
pascal@11205 28
pascal@11205 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 30 genpkg_rules()
pascal@11205 31 {
pankso@11897 32 mkdir -p $fs/usr/lib $fs/usr/share
pankso@11897 33 cp -a $install/etc $fs
pankso@11897 34 cp -a $install/usr/bin $fs/usr
pankso@11897 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@11897 36 cp -a $install/usr/share/libfm $fs/usr/share
pankso@11897 37 cp -a $install/usr/share/mime $fs/usr/share
pankso@11897 38 cp -a $install/usr/share/applications $fs/usr/share
pascal@11205 39 }
pascal@11205 40
pascal@11205 41 post_install()
pascal@11205 42 {
pascal@11205 43 # update mime-cache
pascal@11205 44 echo "Updating mime-types database"
pascal@12196 45 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
pascal@11205 46 }