wok-current view libgnomeprint/receipt @ rev 9943

gpgme: fix bdeps.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed May 18 12:04:53 2011 +0200 (2011-05-18)
parents e5ae411e1d8c
children 15b53401a938
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomeprint"
4 VERSION="2.18.7"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME print library"
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnome.org/"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.18/$TARBALL"
12 DEPENDS="gtk+ popt libxml2 libart_lgpl"
13 BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --with-html-dir=/usr/share/doc \
21 --without-cups &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share/locale
30 # Copy shared libs
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
37 # Remove static libs
38 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a
39 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a
40 }