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