# HG changeset patch # User Christophe Lincoln # Date 1201299179 -3600 # Node ID cdba62f24f35e49f6e83847e560d606fc056591d # Parent 384257552ba203e6ad9b7627e25cb4a9071658b4 Add shared-mime-info - For nice icons... diff -r 384257552ba2 -r cdba62f24f35 shared-mime-info/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/shared-mime-info/receipt Fri Jan 25 23:12:59 2008 +0100 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="shared-mime-info" +VERSION="0.23" +CATEGORY="x-window" +SHORT_DESC="Core database of common types and the *update-mime-database*." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://freedesktop.org/wiki/Software/shared-mime-info" +WGET_URL="http://freedesktop.org/~hadess/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/locale + + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/mime $fs/usr/share + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale + strip -s $fs/usr/bin/* + + # Put pkgconfig *.pc file, since we are not doing + # a -dev pkg for one tiny file. + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib +}