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

Fixed gnome-mime-data. Added pkgconfig to /usr/lib.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Dec 20 19:59:28 2010 +0000 (2010-12-20)
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 }