wok-current annotate shared-mime-info/receipt @ rev 9909
liblrdf: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 15:26:23 2011 +0200 (2011-05-17) |
parents | 7e7b005cf2b3 |
children | c3cb3e39825d |
rev | line source |
---|---|
pankso@150 | 1 # SliTaz package receipt. |
pankso@150 | 2 |
pankso@150 | 3 PACKAGE="shared-mime-info" |
slaxemulator@8406 | 4 VERSION="0.90" |
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@2441 | 8 DEPENDS="glib libxml2 zlib" |
slaxemulator@6349 | 9 BUILD_DEPENDS="perl-xml-parser glib glib-dev libxml2-dev intltool pkg-config" |
pankso@150 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@150 | 11 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info" |
pankso@150 | 12 WGET_URL="http://freedesktop.org/~hadess/$TARBALL" |
pankso@2837 | 13 LOCALE="" |
pankso@150 | 14 |
pankso@150 | 15 # Rules to configure and make the package. |
pankso@150 | 16 compile_rules() |
pankso@150 | 17 { |
pankso@150 | 18 cd $src |
slaxemulator@8413 | 19 ./configure && |
slaxemulator@8413 | 20 make -j1 && |
slaxemulator@8413 | 21 make -j1 DESTDIR=$DESTDIR install |
pankso@150 | 22 } |
pankso@150 | 23 |
pankso@150 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@150 | 25 genpkg_rules() |
pankso@150 | 26 { |
pankso@2837 | 27 mkdir -p $fs/usr/share |
pankso@150 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@150 | 29 cp -a $_pkg/usr/share/mime $fs/usr/share |
pankso@150 | 30 } |
pankso@677 | 31 |
pankso@677 | 32 # Update mime database. |
pankso@677 | 33 post_install() |
pankso@677 | 34 { |
gokhlayeh@8301 | 35 $1/usr/bin/update-mime-database $1/usr/share/mime || continue |
pankso@677 | 36 } |