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

update libQtXml to 4.5.0
author Allan Pinto <allan316@gmail.com>
date Wed Apr 29 10:25:11 2009 +0000 (2009-04-29)
parents 52dc4b48ed81
children 496049365d58
line source
1 # SliTaz package receipt.
3 PACKAGE="shared-mime-info"
4 VERSION="0.40"
5 CATEGORY="x-window"
6 SHORT_DESC="Core database of common types and the *update-mime-database*."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glib libxml2 zlib"
9 BUILD_DEPENDS="perl-xml-parser glib glib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
12 WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/locale
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/mime $fs/usr/share
34 # Put pkgconfig *.pc file, since we are not doing
35 # a -dev pkg for one tiny file.
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib
38 }
40 # Update mime database.
41 post_install()
42 {
43 local root
44 root=$1
45 update-mime-database $root/usr/share/mime || continue
46 }