# HG changeset patch # User Christopher Rogers # Date 1292788855 0 # Node ID b9e9fdb483926c535bc92648e89f9cebe4f21685 # Parent 8f958ccc916f792c5e8912d4602b820c3d0755cd Add gnome-mime-data. diff -r 8f958ccc916f -r b9e9fdb48392 gnome-mime-data/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gnome-mime-data/receipt Sun Dec 19 20:00:55 2010 +0000 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="gnome-mime-data" +VERSION="2.18.0" +CATEGORY="x-window" +SHORT_DESC="The GNOME Mime Data file types" +MAINTAINER="erjo@slitaz.org" +DEPENDS="perl-xml-parser" +BUILD_DEPENDS="perl-xml-parser gettext" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.gnome.org" +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/gnome \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + + cp -a $_pkg/etc $fs/ + cp -a $_pkg/usr/share/application* $fs/usr/share + cp -a $_pkg/usr/share/mime* $fs/usr/share + +} +