wok-current view libgnomeprintui/receipt @ rev 5845

tazbb: show stable link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 16 13:55:33 2010 +0200 (2010-07-16)
parents 4786cbebbb4b
children 9e5783c9bd34
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomeprintui"
4 VERSION="2.18.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME print user interface library"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl"
9 BUILD_DEPENDS="perl-xml-parser pkg-config gtk+ gnome-icon-theme libgnomecanvas \
10 libgnomecanvas-dev libgnomeprint libgnomeprint-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.gnome.org/"
13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/2.18/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --with-html-dir=/usr/share/doc \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share/locale
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
36 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
38 strip -s $fs/usr/lib/*
39 }