wok-next annotate shared-mime-info/receipt @ rev 15068

Up babl-dev, cookutils-daemon, frogatto-data, kmod-dev, libbonoboui-dev, libcomerr3, libcurl, libexo-dev, libpurple-dev, nagios-plugins-mysql, net6-dev, netatalk-dev, php-cups, pygobject-dev, remmina-dev, ruby-enterprise-doc, shutter-bug, ssfs-server, xfi, xfw, xine-fonts, xorg-server-Xvfb according the wanted their package versions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 13:22:54 2013 +0000 (2013-08-13)
parents 0a6b5118575a
children c8d763479cbc
rev   line source
pankso@150 1 # SliTaz package receipt.
pankso@150 2
pankso@150 3 PACKAGE="shared-mime-info"
slaxemulator@11033 4 VERSION="0.91"
pankso@150 5 CATEGORY="x-window"
pankso@150 6 SHORT_DESC="Core database of common types and the *update-mime-database*."
pankso@150 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
slaxemulator@11033 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@150 10 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info"
pankso@150 11 WGET_URL="http://freedesktop.org/~hadess/$TARBALL"
pankso@2837 12 LOCALE=""
pankso@150 13
slaxemulator@10340 14 DEPENDS="glib libxml2 zlib"
slaxemulator@10340 15 BUILD_DEPENDS="perl-xml-parser glib glib-dev libxml2-dev intltool pkg-config"
slaxemulator@10340 16
pankso@150 17 # Rules to configure and make the package.
pankso@150 18 compile_rules()
pankso@150 19 {
pankso@150 20 cd $src
slaxemulator@11033 21 patch -Np1 -i $stuff/pbm.patch
slaxemulator@10340 22 ./configure $CONFIGURE_ARGS &&
slaxemulator@10340 23 make -j1 && make -j1 DESTDIR=$DESTDIR install
pankso@150 24 }
pankso@150 25
pankso@150 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@150 27 genpkg_rules()
pankso@150 28 {
pankso@2837 29 mkdir -p $fs/usr/share
pascal@15000 30 cp -a $install/usr/bin $fs/usr
pascal@15000 31 cp -a $install/usr/share/mime $fs/usr/share
pankso@150 32 }
pankso@677 33
pankso@677 34 # Update mime database.
pankso@677 35 post_install()
pankso@677 36 {
pascal@12196 37 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
pankso@677 38 }