wok-next view pango/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 757d032c55c7 |
children | 624ffd1bb925 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pango"
4 VERSION="1.40.14"
5 CATEGORY="x-window"
6 SHORT_DESC="Layout and rendering of internationalized text"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.pango.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="harfbuzz-dev xorg-libXft-dev cairo-dev \
15 gobject-introspection-dev meson ninja"
16 SPLIT="pango-dev"
18 compile_rules() {
19 mkdir build
20 cd build
22 meson \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 .. &&
26 ninja &&
27 ninja install || return 1
29 rm -rf \
30 $install/usr/libexec/installed-tests \
31 $install/usr/share/installed-tests
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 pango)
37 copy bin/ *.so*
38 DEPENDS="cairo fontconfig freetype glib libharfbuzz xorg-libX11 \
39 xorg-libXft xorg-libXrender"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="pango cairo-dev fontconfig-dev freetype-dev glib-dev \
44 harfbuzz-dev xorg-libXft-dev"
45 ;;
46 esac
47 }