wok view libgnomeprint/receipt @ rev 9528

Up: glibmm to 2.28.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 07 23:17:08 2011 +0000 (2011-04-07)
parents 02bbaa9d12ba
children 695a299a5e52
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 DEPENDS="gtk+ popt libxml2 libart_lgpl"
9 BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org/"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/libgnomeprint/2.18/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --with-html-dir=/usr/share/doc \
23 --without-cups \
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
34 # Copy shared libs
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
41 # Remove static libs
42 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a
43 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a
44 }