wok view shared-mime-info/receipt @ rev 19815

mate-polkit: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 02 10:17:19 2017 +0100 (2017-03-02)
parents 124c3a7da04f
children 4cd0b5691566
line source
1 # SliTaz package receipt.
3 PACKAGE="shared-mime-info"
4 VERSION="1.6"
5 CATEGORY="system-tools"
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"
15 BUILD_DEPENDS="intltool"
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/mime
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/mime/packages $fs/usr/share/mime
37 # Additional MIME-types supported by SliTaz
38 cp $stuff/*.xml $fs/usr/share/mime/packages
39 }