wok-6.x view gnome-mime-data/receipt @ rev 12723

fox14: update WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 05 12:52:37 2012 +0200 (2012-05-05)
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 }