wok-next view pango/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a3c581bf52b8 |
children | 5669e8b3be70 |
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="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://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="$PACKAGE-typelib $PACKAGE-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 }