wok-stable annotate shared-mime-info/receipt @ rev 1240
Add; claws-mail dev file, claws-mail standart plugins.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Aug 11 23:42:36 2008 +0200 (2008-08-11) |
parents | 6db4f9cb4207 |
children | c1ff74d9b6f4 |
rev | line source |
---|---|
pankso@150 | 1 # SliTaz package receipt. |
pankso@150 | 2 |
pankso@150 | 3 PACKAGE="shared-mime-info" |
pankso@966 | 4 VERSION="0.40" |
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" |
pankso@150 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@150 | 9 WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info" |
pankso@150 | 10 WGET_URL="http://freedesktop.org/~hadess/$TARBALL" |
pankso@150 | 11 |
pankso@150 | 12 # Rules to configure and make the package. |
pankso@150 | 13 compile_rules() |
pankso@150 | 14 { |
pankso@150 | 15 cd $src |
pankso@150 | 16 ./configure \ |
pankso@150 | 17 --prefix=/usr \ |
pankso@150 | 18 --sysconfdir=/etc \ |
pankso@150 | 19 --mandir=/usr/share/man \ |
pankso@150 | 20 $CONFIGURE_ARGS |
pankso@150 | 21 make |
pankso@150 | 22 make DESTDIR=$PWD/_pkg install |
pankso@150 | 23 } |
pankso@150 | 24 |
pankso@150 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@150 | 26 genpkg_rules() |
pankso@150 | 27 { |
pankso@150 | 28 mkdir -p $fs/usr/share/locale |
pankso@150 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@150 | 30 cp -a $_pkg/usr/share/mime $fs/usr/share |
pankso@150 | 31 |
pankso@150 | 32 # Put pkgconfig *.pc file, since we are not doing |
pankso@150 | 33 # a -dev pkg for one tiny file. |
pankso@150 | 34 mkdir -p $fs/usr/lib |
pankso@150 | 35 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib |
pankso@150 | 36 } |
pankso@677 | 37 |
pankso@677 | 38 # Update mime database. |
pankso@677 | 39 post_install() |
pankso@677 | 40 { |
pankso@677 | 41 local root |
pankso@677 | 42 root=$1 |
pankso@677 | 43 update-mime-database $root/usr/share/mime || continue |
pankso@677 | 44 } |