wok-current view 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 |
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 HOST_ARCH="i486 x86_64"
19 current_version()
20 {
21 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
22 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
23 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 meson build \
30 --prefix=/usr \
31 --libdir=lib \
32 --bindir=/usr/bin \
33 --sbindir=/usr/sbin \
34 --buildtype=release &&
35 ninja -C build &&
36 ninja -C build install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }