wok view libgnomeprintui/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 86790a278e70
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomeprintui"
4 VERSION="2.18.6"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME print user interface 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="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl"
14 BUILD_DEPENDS="pkg-config gnome-icon-theme flex libgnomeprint-dev \
15 libgnomecanvas-dev libart_lgpl-dev intltool"
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 ./configure \
27 --with-html-dir=/usr/share/doc \
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
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/share/$PACKAGE $fs/usr/share
38 }