wok-current annotate shared-mime-info/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 | c8d763479cbc |
children | 533c0cab6960 |
rev | line source |
---|---|
pankso@150 | 1 # SliTaz package receipt. |
pankso@150 | 2 |
pankso@150 | 3 PACKAGE="shared-mime-info" |
pankso@16315 | 4 VERSION="1.3" |
pankso@150 | 5 CATEGORY="x-window" |
pankso@150 | 6 SHORT_DESC="Core database of common types and the *update-mime-database*." |
pankso@150 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
slaxemulator@11033 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@150 | 10 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info" |
pankso@150 | 11 WGET_URL="http://freedesktop.org/~hadess/$TARBALL" |
pankso@16315 | 12 HOST_ARCH="i486 arm" |
pankso@16132 | 13 |
pankso@16132 | 14 DEPENDS="glib libxml2 zlib" |
pankso@16132 | 15 BUILD_DEPENDS="perl-xml-parser glib-dev libxml2-dev intltool pkg-config" |
pankso@150 | 16 |
pankso@16132 | 17 # Handle cross compilation. Host perl/intltool are used |
pankso@16132 | 18 case "$ARCH" in |
pankso@16132 | 19 arm*) BUILD_DEPENDS="glib-dev libxml2-dev" ;; |
pankso@16132 | 20 esac |
slaxemulator@10340 | 21 |
pankso@150 | 22 # Rules to configure and make the package. |
pankso@150 | 23 compile_rules() |
pankso@150 | 24 { |
pankso@16315 | 25 #patch -Np1 -i $stuff/pbm.patch |
slaxemulator@10340 | 26 ./configure $CONFIGURE_ARGS && |
slaxemulator@10340 | 27 make -j1 && make -j1 DESTDIR=$DESTDIR install |
pankso@150 | 28 } |
pankso@150 | 29 |
pankso@150 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@150 | 31 genpkg_rules() |
pankso@150 | 32 { |
pankso@2837 | 33 mkdir -p $fs/usr/share |
pascal@15000 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 35 cp -a $install/usr/share/mime $fs/usr/share |
pankso@150 | 36 } |
pankso@677 | 37 |
pankso@677 | 38 # Update mime database. |
pankso@677 | 39 post_install() |
pankso@677 | 40 { |
pascal@12196 | 41 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime |
pankso@677 | 42 } |