wok-next view pango/receipt @ rev 20905

Update packages from ISO and LFS backages (all but toolchain)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 07 00:30:45 2018 +0300 (2018-08-07)
parents 624ffd1bb925
children a3c581bf52b8
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pango"
4 VERSION="1.42.2"
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 fribidi-dev"
16 SPLIT="pango-typelib pango-dev"
18 compile_rules() {
19 mkdir build
20 cd build
22 meson-wrapper .. &&
23 ninja &&
24 ninja install || return 1
26 rm -rf \
27 $install/usr/lib/installed-tests \
28 $install/usr/share/installed-tests
29 find $install -type f -perm 664 -exec chmod 644 '{}' \;
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 pango)
35 copy @std
36 DEPENDS="cairo fontconfig freetype fribidi glib libharfbuzz \
37 xorg-libX11 xorg-libXft xorg-libXrender"
38 ;;
39 pango-typelib)
40 copy *.typelib
41 CAT="development|typelib files"
42 DEPENDS="pango"
43 ;;
44 *-dev)
45 copy @dev @rm
46 DEPENDS="pango pango-typelib \
47 cairo-dev fontconfig-dev freetype-dev fribidi-dev glib-dev \
48 harfbuzz-dev xorg-libXft-dev"
49 ;;
50 esac
51 }