wok-current annotate pangomm/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (8 weeks ago)
parents 3ad63c8fc2f9
children
rev   line source
pankso@2541 1 # SliTaz package receipt.
pankso@2541 2
pankso@2541 3 PACKAGE="pangomm"
shann@25634 4 VERSION="2.42.2"
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"
shann@25634 14 BUILD_DEPENDS="cairo-dev cairomm-dev glibmm-dev pango-dev \
shann@25634 15 libxml2-dev meson"
pascal@14996 16
shann@25728 17 HOST_ARCH="i486 x86_64"
shann@25728 18
pascal@24072 19 current_version()
pascal@24072 20 {
pascal@24072 21 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
pascal@24072 22 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24072 23 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
pascal@24072 24 }
pascal@24072 25
pankso@2541 26 # Rules to configure and make the package.
pankso@2541 27 compile_rules()
pankso@2541 28 {
shann@25634 29 meson build \
shann@25634 30 --prefix=/usr \
shann@25634 31 --libdir=lib \
shann@25634 32 --bindir=/usr/bin \
shann@25634 33 --sbindir=/usr/sbin \
shann@25634 34 --buildtype=release &&
shann@25634 35 ninja -C build &&
shann@25634 36 ninja -C build install
pankso@2541 37 }
pankso@2541 38
pankso@2541 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2541 40 genpkg_rules()
pankso@2541 41 {
pankso@2541 42 mkdir -p $fs/usr/lib
pascal@14996 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@2541 44 }
slaxemulator@6397 45