wok-6.x view shared-mime-info/receipt @ rev 7466
Down: GConf to 2.32.0. GConf 2.32.1 doesn't compile.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 30 23:27:54 2010 +0000 (2010-11-30) |
parents | 9d7bc1a5f111 |
children | a8f1fa416853 |
line source
1 # SliTaz package receipt.
3 PACKAGE="shared-mime-info"
4 VERSION="0.71"
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 libxml2-dev intltool pkg-config"
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"
13 LOCALE=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --sysconfdir=/etc \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share/mime $fs/usr/share
34 }
36 # Update mime database.
37 post_install()
38 {
39 update-mime-database $1/usr/share/mime || continue
40 }