wok-stable view gnome-mime-data/receipt @ rev 7938
slitaz-mercurial-style: Migration continue (one can follow in live on hg.slitaz.org)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jan 11 22:37:12 2011 +0100 (2011-01-11) |
parents | b9e9fdb48392 |
children |
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 }