wok annotate pangomm/receipt @ rev 24955

updated nano and nano-doc (4.8 -> 6.2)
author Hans-G?nter Theisgen
date Sat Apr 23 16:34:46 2022 +0100 (2022-04-23)
parents 86790a278e70
children
rev   line source
pankso@2541 1 # SliTaz package receipt.
pankso@2541 2
pankso@2541 3 PACKAGE="pangomm"
devl547@17597 4 VERSION="2.35.1"
pankso@2541 5 CATEGORY="x-window"
pankso@2541 6 SHORT_DESC="Pango binding for GTKmm."
pankso@2541 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
devl547@17597 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20421 10 WEB_SITE="https://www.gnome.org/"
slaxemulator@9529 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@2541 12
pascal@14996 13 DEPENDS="pixman cairomm glibmm libgiomm pango gcc-lib-base"
pascal@15244 14 BUILD_DEPENDS="cairo-dev cairomm-dev glibmm-dev pango-dev libxml2-dev"
pascal@14996 15
pascal@24072 16 current_version()
pascal@24072 17 {
pascal@24072 18 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
pascal@24072 19 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24072 20 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
pascal@24072 21 }
pascal@24072 22
pankso@2541 23 # Rules to configure and make the package.
pankso@2541 24 compile_rules()
pankso@2541 25 {
pankso@2541 26 cd $src
pankso@2541 27 ./configure \
slaxemulator@10085 28 --disable-documentation \
slaxemulator@10085 29 $CONFIGURE_ARGS &&
pankso@2541 30 make &&
slaxemulator@9529 31 make install
pankso@2541 32 }
pankso@2541 33
pankso@2541 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2541 35 genpkg_rules()
pankso@2541 36 {
pankso@2541 37 mkdir -p $fs/usr/lib
pascal@14996 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@2541 39 }
slaxemulator@6397 40