wok-current view pangomm/receipt @ rev 25642
Bump linux to 4.19.305, add linux-pae-ipv6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Jan 17 12:05:22 2024 +0000 (11 months ago) |
parents | 5d79829fa876 |
children | 5926178cd6fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="pangomm"
4 VERSION="2.42.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Pango binding for GTKmm."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="pixman cairomm glibmm libgiomm pango gcc-lib-base"
14 BUILD_DEPENDS="cairo-dev cairomm-dev glibmm-dev pango-dev \
15 libxml2-dev meson"
17 current_version()
18 {
19 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
20 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
21 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 meson build \
28 --prefix=/usr \
29 --libdir=lib \
30 --bindir=/usr/bin \
31 --sbindir=/usr/sbin \
32 --buildtype=release &&
33 ninja -C build &&
34 ninja -C build install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }