wok-next view shared-mime-info/receipt @ rev 17172

Up firefox-official (32.0.3) CVE-2014-1568
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 25 15:28:17 2014 +0200 (2014-09-25)
parents c8d763479cbc
children 533c0cab6960
line source
1 # SliTaz package receipt.
3 PACKAGE="shared-mime-info"
4 VERSION="1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Core database of common types and the *update-mime-database*."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
11 WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glib libxml2 zlib"
15 BUILD_DEPENDS="perl-xml-parser glib-dev libxml2-dev intltool pkg-config"
17 # Handle cross compilation. Host perl/intltool are used
18 case "$ARCH" in
19 arm*) BUILD_DEPENDS="glib-dev libxml2-dev" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 #patch -Np1 -i $stuff/pbm.patch
26 ./configure $CONFIGURE_ARGS &&
27 make -j1 && make -j1 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/mime $fs/usr/share
36 }
38 # Update mime database.
39 post_install()
40 {
41 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
42 }