wok-current annotate shared-mime-info/receipt @ rev 4752
Up: firefox (3.5.7)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jan 09 21:31:42 2010 +0100 (2010-01-09) |
parents | 0d71947173a7 |
children | c89250dfff79 |
rev | line source |
---|---|
pankso@150 | 1 # SliTaz package receipt. |
pankso@150 | 2 |
pankso@150 | 3 PACKAGE="shared-mime-info" |
pankso@2837 | 4 VERSION="0.60" |
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" |
pascal@1514 | 9 BUILD_DEPENDS="perl-xml-parser glib glib-dev" |
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 |
pankso@150 | 19 ./configure \ |
pankso@150 | 20 --prefix=/usr \ |
pankso@150 | 21 --sysconfdir=/etc \ |
pankso@150 | 22 --mandir=/usr/share/man \ |
pascal@1465 | 23 $CONFIGURE_ARGS && |
pascal@1465 | 24 make && |
pankso@150 | 25 make DESTDIR=$PWD/_pkg install |
pankso@150 | 26 } |
pankso@150 | 27 |
pankso@150 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@150 | 29 genpkg_rules() |
pankso@150 | 30 { |
pankso@2837 | 31 mkdir -p $fs/usr/share |
pankso@150 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@150 | 33 cp -a $_pkg/usr/share/mime $fs/usr/share |
pankso@150 | 34 } |
pankso@677 | 35 |
pankso@677 | 36 # Update mime database. |
pankso@677 | 37 post_install() |
pankso@677 | 38 { |
pankso@2837 | 39 update-mime-database $1/usr/share/mime || continue |
pankso@677 | 40 } |