wok view gnome-mime-data/receipt @ rev 9709

gcc: keep -mtune it was $BUILD_HOST to remove
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 08 20:54:33 2011 +0200 (2011-05-08)
parents b9e9fdb48392
children d1c17bd2c2bc
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 $fs/usr/lib
30 cp -a $_pkg/etc $fs/
31 cp -a $_pkg/usr/share/application-registry $fs/usr/share
32 cp -a $_pkg/usr/share/mime-info $fs/usr/share
33 cp -a $_pkg/usr/share/pkgconfig $fs/usr/lib
35 }