wok-stable annotate gnome-mime-data/receipt @ 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
children fc1088e5ec0e
rev   line source
slaxemulator@7731 1 # SliTaz package receipt.
slaxemulator@7731 2
slaxemulator@7731 3 PACKAGE="gnome-mime-data"
slaxemulator@7731 4 VERSION="2.18.0"
slaxemulator@7731 5 CATEGORY="x-window"
slaxemulator@7731 6 SHORT_DESC="The GNOME Mime Data file types"
slaxemulator@7731 7 MAINTAINER="erjo@slitaz.org"
slaxemulator@7731 8 DEPENDS="perl-xml-parser"
slaxemulator@7731 9 BUILD_DEPENDS="perl-xml-parser gettext"
slaxemulator@7731 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@7731 11 WEB_SITE="http://www.gnome.org"
slaxemulator@7731 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@7731 13
slaxemulator@7731 14 # Rules to configure and make the package.
slaxemulator@7731 15 compile_rules()
slaxemulator@7731 16 {
slaxemulator@7731 17 cd $src
slaxemulator@7731 18 ./configure \
slaxemulator@7731 19 --prefix=/usr \
slaxemulator@7731 20 --sysconfdir=/etc/gnome \
slaxemulator@7731 21 $CONFIGURE_ARGS &&
slaxemulator@7731 22 make && make DESTDIR=$PWD/_pkg install
slaxemulator@7731 23 }
slaxemulator@7731 24
slaxemulator@7731 25 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7731 26 genpkg_rules()
slaxemulator@7731 27 {
slaxemulator@7731 28 mkdir -p $fs/usr/share
slaxemulator@7731 29
slaxemulator@7731 30 cp -a $_pkg/etc $fs/
slaxemulator@7731 31 cp -a $_pkg/usr/share/application* $fs/usr/share
slaxemulator@7731 32 cp -a $_pkg/usr/share/mime* $fs/usr/share
slaxemulator@7731 33
slaxemulator@7731 34 }
slaxemulator@7731 35