wok diff shared-mime-info/receipt @ rev 3309

Up: startup-notification (0.10)
author Mallory MOLLO <mallory@skyrock.com>
date Sat Jun 06 20:17:11 2009 +0200 (2009-06-06)
parents 0d71947173a7
children c89250dfff79
line diff
     1.1 --- a/shared-mime-info/receipt	Fri Mar 13 09:43:13 2009 +0000
     1.2 +++ b/shared-mime-info/receipt	Sat Jun 06 20:17:11 2009 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="shared-mime-info"
     1.7 -VERSION="0.40"
     1.8 +VERSION="0.60"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Core database of common types and the *update-mime-database*."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -10,6 +10,7 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
    1.15  WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
    1.16 +LOCALE=""
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20 @@ -27,20 +28,13 @@
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/share/locale
    1.25 +	mkdir -p $fs/usr/share
    1.26  	cp -a $_pkg/usr/bin $fs/usr
    1.27      cp -a $_pkg/usr/share/mime $fs/usr/share
    1.28 -    
    1.29 -    # Put pkgconfig *.pc file, since we are not doing 
    1.30 -    # a -dev pkg for one tiny file.
    1.31 -    mkdir -p $fs/usr/lib
    1.32 -    cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib
    1.33  }
    1.34  
    1.35  # Update mime database.
    1.36  post_install()
    1.37  {
    1.38 -	local root
    1.39 -	root=$1
    1.40 -	update-mime-database $root/usr/share/mime || continue
    1.41 +	update-mime-database $1/usr/share/mime || continue
    1.42  }