wok view shared-mime-info/receipt @ rev 1465

update BUILD_DEPENDS in asunder clearlooks evas gcolor2 gnome-menus grsync intltool libiec61883 libwnck neon poedit portmap pycairo shared-mime-info tsclient xorg-libICE xorg-xload
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 09:01:05 2008 +0000 (2008-10-04)
parents c56e0f839d1a
children 52dc4b48ed81
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 BUILD_DEPENDS="perl-xml-parser"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
11 WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --sysconfdir=/etc \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/locale
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share/mime $fs/usr/share
33 # Put pkgconfig *.pc file, since we are not doing
34 # a -dev pkg for one tiny file.
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib
37 }
39 # Update mime database.
40 post_install()
41 {
42 local root
43 root=$1
44 update-mime-database $root/usr/share/mime || continue
45 }