wok-6.x view shared-mime-info/receipt @ rev 12792

ncurses: silently install tic
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 16 12:15:00 2012 +0200 (2012-05-16)
parents 208265e35b96
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="shared-mime-info"
4 VERSION="0.91"
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.xz"
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 patch -Np1 -i $stuff/pbm.patch
21 ./configure $CONFIGURE_ARGS &&
22 make -j1 && make -j1 DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share/mime $fs/usr/share
31 }
33 # Update mime database.
34 post_install()
35 {
36 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
37 }