wok annotate shared-mime-info/receipt @ rev 150

Add shared-mime-info - For nice icons...
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jan 25 23:12:59 2008 +0100 (2008-01-25)
parents
children 6db4f9cb4207
rev   line source
pankso@150 1 # SliTaz package receipt.
pankso@150 2
pankso@150 3 PACKAGE="shared-mime-info"
pankso@150 4 VERSION="0.23"
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
pankso@150 30 cp -a $_pkg/usr/bin $fs/usr
pankso@150 31 cp -a $_pkg/usr/share/mime $fs/usr/share
pankso@150 32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@150 33 strip -s $fs/usr/bin/*
pankso@150 34
pankso@150 35 # Put pkgconfig *.pc file, since we are not doing
pankso@150 36 # a -dev pkg for one tiny file.
pankso@150 37 mkdir -p $fs/usr/lib
pankso@150 38 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib
pankso@150 39 }