wok annotate libfm/receipt @ rev 16315
ARM: add/up vala (0.24.0) + shared-mime-info (hope it will fix some gtk crash)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 09 14:57:01 2014 +0200 (2014-04-09) |
parents | 8139105f9285 |
children | 03d5ff1ebd83 |
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@16315 | 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 |
pankso@11897 | 46 cp -a $install/usr/share/libfm $fs/usr/share |
pankso@11897 | 47 cp -a $install/usr/share/mime $fs/usr/share |
pankso@11897 | 48 cp -a $install/usr/share/applications $fs/usr/share |
pascal@11205 | 49 } |
pascal@11205 | 50 |
pascal@11205 | 51 post_install() |
pascal@11205 | 52 { |
pascal@11205 | 53 # update mime-cache |
pascal@11205 | 54 echo "Updating mime-types database" |
pascal@12196 | 55 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime |
pascal@11205 | 56 } |