wok-current view pango/receipt @ rev 25634
Mass update, new toolchain gcc 8.3.0, glibc 2.28.0
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Jan 14 08:12:37 2024 +0000 (10 months ago) |
parents | b77195a00671 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pango"
4 VERSION="1.48.11"
5 CATEGORY="x-window"
6 SHORT_DESC="Layout and rendering of internationalized text"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.pango.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 CONFIG_FILES="/etc/pango/pango.modules"
13 HOST_ARCH="i486 arm"
15 DEPENDS="cairo xorg-libXft slitaz-base-files gcc-lib-base \
16 util-linux-uuid fribidi"
17 BUILD_DEPENDS="cairo-dev libxml2-dev xorg-libXft-dev \
18 meson fribidi-dev harfbuzz-dev"
20 # Handle cross compilation
21 case "$ARCH" in
22 i?86)
23 BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
24 arm*)
25 export LIBTOOL=${HOST_SYSTEM}-libtool
26 ARCH_ARGS="--enable-introspection=no" ;;
27 esac
29 current_version()
30 {
31 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
32 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
33 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
34 }
36 # Rules to configure and make the package.
37 compile_rules()
38 {
39 meson build \
40 --prefix=/usr \
41 --libdir=lib \
42 --bindir=/usr/bin \
43 --sbindir=/usr/sbin \
44 --buildtype=release &&
45 ninja -C build &&
46 ninja -C build install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr/bin $fs/usr/lib
53 cp -a $install/usr/bin/* $fs/usr/bin
54 cp -a $install/usr/lib/*.so* $fs/usr/lib
55 }