wok-next view shared-mime-info/receipt @ rev 15709
Up:Postfix (2.10.2) + Add SSL support
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 22 22:07:24 2013 +0100 (2013-12-22) |
parents | 0a6b5118575a |
children | c8d763479cbc |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
11 WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
12 LOCALE=""
14 DEPENDS="glib libxml2 zlib"
15 BUILD_DEPENDS="perl-xml-parser glib glib-dev libxml2-dev intltool pkg-config"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 patch -Np1 -i $stuff/pbm.patch
22 ./configure $CONFIGURE_ARGS &&
23 make -j1 && make -j1 DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share/mime $fs/usr/share
32 }
34 # Update mime database.
35 post_install()
36 {
37 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
38 }