wok-current view shared-mime-info/receipt @ rev 24032

modified get-teamviewer to be able to fetch versions < 13
author Hans-G?nter Theisgen
date Tue Apr 06 14:38:05 2021 +0100 (2021-04-06)
parents fdc520591ac1
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="shared-mime-info"
4 VERSION="1.15"
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 WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/freedesktop/xdg-$PACKAGE/archive/Release-${VERSION/./-}.tar.gz"
14 DEPENDS="glib"
15 BUILD_DEPENDS="autoconf automake bash intltool itstool"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation. Host perl/intltool are used
20 case "$ARCH" in
21 arm*) BUILD_DEPENDS="glib-dev libxml2-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 #patch -Np1 -i $stuff/pbm.patch
29 # remove #!/bin/sh from autogen.sh, since bash is required:
30 sed -i '1d' ./autogen.sh
32 bash -c ./autogen.sh &&
33 ./configure $CONFIGURE_ARGS &&
34 make -j1 &&
35 make -j1 DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/mime
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/mime/packages $fs/usr/share/mime
46 # Additional MIME-types supported by SliTaz
47 cp $stuff/*.xml $fs/usr/share/mime/packages
48 }