wok-current view libgnomeprint/receipt @ rev 23597

flam3, jpeg-dev, x11vnc: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 09 09:01:09 2020 +0000 (2020-04-09)
parents add4006354aa
children 6831608a1b2a
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomeprint"
4 VERSION="2.18.8"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME print library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ popt libxml2 libart_lgpl"
14 BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev \
15 libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Update for Bison 3
21 sed -e '/YYPARSE_PARAM/d' -e 's|yyerror (|&graph_t *g, |' \
22 -e 's|%pure_parser|&\n%parse-param { graph_t *graph }|' \
23 -i libgnomeprint/grammar.y
25 ./configure \
26 --with-html-dir=/usr/share/doc \
27 --without-cups \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share/locale
37 # Copy shared libs
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
41 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
42 cp -a $install/usr/share/$PACKAGE $fs/usr/share
44 # Remove static libs
45 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a
46 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a
47 }