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

m4: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 08:08:39 2011 +0000 (2011-05-24)
parents 0bcdacf3c572
children 208265e35b96
line source
1 # SliTaz package receipt.
3 PACKAGE="shared-mime-info"
4 VERSION="0.90"
5 CATEGORY="x-window"
6 SHORT_DESC="Core database of common types and the *update-mime-database*."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
10 WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
11 LOCALE=""
13 DEPENDS="glib libxml2 zlib"
14 BUILD_DEPENDS="perl-xml-parser glib glib-dev libxml2-dev intltool pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS &&
21 make -j1 && make -j1 DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/mime $fs/usr/share
30 }
32 # Update mime database.
33 post_install()
34 {
35 $1/usr/bin/update-mime-database $1/usr/share/mime || continue
36 }