wok-6.x diff shared-mime-info/receipt @ rev 21906

updated shared-mime-info and shared-mime-info-dev (1.6 -> 1.14)
author Hans-G?nter Theisgen
date Fri Oct 04 14:42:51 2019 +0100 (2019-10-04)
parents cd38699cf179
children ab2c10a2e76a
line diff
     1.1 --- a/shared-mime-info/receipt	Fri Jun 03 16:43:35 2016 +0300
     1.2 +++ b/shared-mime-info/receipt	Fri Oct 04 14:42:51 2019 +0100
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="shared-mime-info"
     1.7 -VERSION="1.6"
     1.8 +VERSION="1.14"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Core database of common types and the *update-mime-database*."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14 -WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
    1.15 -WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
    1.16 +WEB_SITE="https://freedesktop.org/wiki/Software/shared-mime-info"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="https://github.com/xdg-$PACKAGE/archive/Release-${VERSION/./-}.tar.gz"
    1.20  HOST_ARCH="i486 arm"
    1.21  
    1.22  DEPENDS="glib"
    1.23 -BUILD_DEPENDS="intltool"
    1.24 +BUILD_DEPENDS="bash intltool itstool"
    1.25  
    1.26  # Handle cross compilation. Host perl/intltool are used
    1.27  case "$ARCH" in
    1.28 @@ -23,17 +24,22 @@
    1.29  compile_rules()
    1.30  {
    1.31  	#patch -Np1 -i $stuff/pbm.patch
    1.32 +
    1.33 +	sed -i '1d' ./autogen.sh &&
    1.34 +	bash -c ./autogen.sh &&
    1.35  	./configure $CONFIGURE_ARGS &&
    1.36 -	make -j1 && make -j1 DESTDIR=$DESTDIR install
    1.37 +	make -j1 &&
    1.38 +	make -j1 DESTDIR=$DESTDIR install
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44  	mkdir -p $fs/usr/share/mime
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 -	cp -a $install/usr/share/mime/packages $fs/usr/share/mime
    1.47 +
    1.48 +	cp -a $install/usr/bin			$fs/usr
    1.49 +	cp -a $install/usr/share/mime/packages	$fs/usr/share/mime
    1.50  
    1.51  	# Additional MIME-types supported by SliTaz
    1.52 -	cp $stuff/*.xml $fs/usr/share/mime/packages
    1.53 +	cp $stuff/*.xml				$fs/usr/share/mime/packages
    1.54  }