wok annotate libgnomeprintui/receipt @ rev 24596
updated gftp (2.0.19 -> 2.9.1b)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:53:52 2022 +0100 (2022-03-01) |
parents | 86790a278e70 |
children |
rev | line source |
---|---|
pankso@37 | 1 # SliTaz package receipt. |
pankso@37 | 2 |
pankso@37 | 3 PACKAGE="libgnomeprintui" |
slaxemulator@10211 | 4 VERSION="2.18.6" |
pankso@209 | 5 CATEGORY="x-window" |
pankso@37 | 6 SHORT_DESC="GNOME print user interface 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/" |
pascal@17869 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@37 | 12 |
pankso@9770 | 13 DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl" |
pankso@9770 | 14 BUILD_DEPENDS="pkg-config gnome-icon-theme flex libgnomeprint-dev \ |
gokhlayeh@11437 | 15 libgnomecanvas-dev libart_lgpl-dev intltool" |
pankso@9770 | 16 |
pascal@24111 | 17 current_version() |
pascal@24111 | 18 { |
pascal@24111 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 21 } |
pascal@24111 | 22 |
pankso@37 | 23 # Rules to configure and make the package. |
pankso@37 | 24 compile_rules() |
pankso@37 | 25 { |
pankso@37 | 26 ./configure \ |
slaxemulator@10211 | 27 --with-html-dir=/usr/share/doc \ |
slaxemulator@10211 | 28 $CONFIGURE_ARGS && |
pankso@9770 | 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@9770 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@14714 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14714 | 37 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@37 | 38 } |