wok view libgnomeprint/receipt @ rev 24404
updated chromaprint and chromaprint-dev (1.4.3 -> 1.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 09 07:43:00 2022 +0100 (2022-02-09) |
parents | a3b001408630 |
children | e01f84a448f7 |
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 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # Update for Bison 3
27 sed -e '/YYPARSE_PARAM/d' -e 's|yyerror (|&graph_t *g, |' \
28 -e 's|%pure_parser|&\n%parse-param { graph_t *graph }|' \
29 -i libgnomeprint/grammar.y
31 ./configure \
32 --with-html-dir=/usr/share/doc \
33 --without-cups \
34 $CONFIGURE_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib $fs/usr/share/locale
43 # Copy shared libs
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
47 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
48 cp -a $install/usr/share/$PACKAGE $fs/usr/share
50 # Remove static libs
51 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*.*a
52 rm $fs/usr/lib/$PACKAGE/$VERSION/modules/*/*.*a
53 }