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