wok-next rev 2837

Up: shared-mime-info (0.60) and split devel file
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 30 20:09:19 2009 +0200 (2009-04-30)
parents 23c5897a0eb4
children c61177674d4d
files shared-mime-info-dev/receipt shared-mime-info/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/shared-mime-info-dev/receipt	Thu Apr 30 20:09:19 2009 +0200
     1.3 @@ -0,0 +1,16 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="shared-mime-info-dev"
     1.7 +VERSION="0.60"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Freedesktop shared-mime-info devel files."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +WANTED="shared-mime-info"
    1.12 +WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +    mkdir -p $fs/usr/lib
    1.18 +    cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib
    1.19 +}
     2.1 --- a/shared-mime-info/receipt	Thu Apr 30 20:08:22 2009 +0200
     2.2 +++ b/shared-mime-info/receipt	Thu Apr 30 20:09:19 2009 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="shared-mime-info"
     2.7 -VERSION="0.40"
     2.8 +VERSION="0.60"
     2.9  CATEGORY="x-window"
    2.10  SHORT_DESC="Core database of common types and the *update-mime-database*."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -10,6 +10,7 @@
    2.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14  WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
    2.15  WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
    2.16 +LOCALE=""
    2.17  
    2.18  # Rules to configure and make the package.
    2.19  compile_rules()
    2.20 @@ -27,20 +28,13 @@
    2.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.22  genpkg_rules()
    2.23  {
    2.24 -	mkdir -p $fs/usr/share/locale
    2.25 +	mkdir -p $fs/usr/share
    2.26  	cp -a $_pkg/usr/bin $fs/usr
    2.27      cp -a $_pkg/usr/share/mime $fs/usr/share
    2.28 -    
    2.29 -    # Put pkgconfig *.pc file, since we are not doing 
    2.30 -    # a -dev pkg for one tiny file.
    2.31 -    mkdir -p $fs/usr/lib
    2.32 -    cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib
    2.33  }
    2.34  
    2.35  # Update mime database.
    2.36  post_install()
    2.37  {
    2.38 -	local root
    2.39 -	root=$1
    2.40 -	update-mime-database $root/usr/share/mime || continue
    2.41 +	update-mime-database $1/usr/share/mime || continue
    2.42  }