wok view pangomm/receipt @ rev 24170
updated otf-gfs
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 07:55:54 2021 +0100 (2021-12-29) |
parents | 86790a278e70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pangomm"
4 VERSION="2.35.1"
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 libxml2-dev"
16 current_version()
17 {
18 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
19 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
20 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --disable-documentation \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }