wok rev 7731

Add gnome-mime-data.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Dec 19 20:00:55 2010 +0000 (2010-12-19)
parents 8f958ccc916f
children b09f15595730
files gnome-mime-data/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gnome-mime-data/receipt	Sun Dec 19 20:00:55 2010 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gnome-mime-data"
     1.7 +VERSION="2.18.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="The GNOME Mime Data file types"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="perl-xml-parser"
    1.12 +BUILD_DEPENDS="perl-xml-parser gettext"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.gnome.org"
    1.15 +WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--sysconfdir=/etc/gnome \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	make && make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	mkdir -p $fs/usr/share
    1.32 +	
    1.33 +	cp -a $_pkg/etc $fs/
    1.34 +	cp -a $_pkg/usr/share/application* $fs/usr/share
    1.35 +	cp -a $_pkg/usr/share/mime* $fs/usr/share
    1.36 +	
    1.37 +}
    1.38 +