wok-next diff shared-mime-info/receipt @ rev 19032

Up tazinst* (74)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 09 18:46:12 2016 +0200 (2016-04-09)
parents 533c0cab6960
children cd38699cf179
line diff
     1.1 --- a/shared-mime-info/receipt	Wed Oct 22 03:42:23 2014 +0300
     1.2 +++ b/shared-mime-info/receipt	Sat Apr 09 18:46:12 2016 +0200
     1.3 @@ -11,8 +11,8 @@
     1.4  WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 -DEPENDS="glib libxml2 zlib"
     1.8 -BUILD_DEPENDS="perl-xml-parser glib-dev libxml2-dev intltool pkg-config"
     1.9 +DEPENDS="glib"
    1.10 +BUILD_DEPENDS="intltool"
    1.11  
    1.12  # Handle cross compilation. Host perl/intltool are used
    1.13  case "$ARCH" in
    1.14 @@ -22,9 +22,9 @@
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 -    #patch -Np1 -i $stuff/pbm.patch
    1.19 -    ./configure $CONFIGURE_ARGS &&
    1.20 -    make -j1 && make -j1 DESTDIR=$DESTDIR install
    1.21 +	#patch -Np1 -i $stuff/pbm.patch
    1.22 +	./configure $CONFIGURE_ARGS &&
    1.23 +	make -j1 && make -j1 DESTDIR=$DESTDIR install
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 @@ -37,9 +37,3 @@
    1.28  	# Additional MIME-types supported by SliTaz
    1.29  	cp $stuff/*.xml $fs/usr/share/mime/packages
    1.30  }
    1.31 -
    1.32 -# Update mime database.
    1.33 -post_install()
    1.34 -{
    1.35 -	chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
    1.36 -}