wok-next annotate 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
rev   line source
al@19797 1 # SliTaz package receipt v2.
pankso@22 2
pankso@22 3 PACKAGE="pango"
al@20905 4 VERSION="1.42.2"
pankso@22 5 CATEGORY="x-window"
al@17992 6 SHORT_DESC="Layout and rendering of internationalized text"
pankso@22 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pankso@22 9 WEB_SITE="http://www.pango.org/"
slaxemulator@11055 10
al@19689 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19797 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
al@19689 13
al@20542 14 BUILD_DEPENDS="harfbuzz-dev xorg-libXft-dev cairo-dev \
al@20905 15 gobject-introspection-dev meson ninja fribidi-dev"
al@20804 16 SPLIT="pango-typelib pango-dev"
pankso@16084 17
al@20443 18 compile_rules() {
al@20542 19 mkdir build
al@20542 20 cd build
al@19797 21
al@20804 22 meson-wrapper .. &&
al@20542 23 ninja &&
al@20542 24 ninja install || return 1
al@20542 25
al@20542 26 rm -rf \
al@20804 27 $install/usr/lib/installed-tests \
al@20542 28 $install/usr/share/installed-tests
al@20804 29 find $install -type f -perm 664 -exec chmod 644 '{}' \;
pankso@22 30 }
pankso@22 31
al@20443 32 genpkg_rules() {
al@19797 33 case $PACKAGE in
al@19797 34 pango)
al@20804 35 copy @std
al@20905 36 DEPENDS="cairo fontconfig freetype fribidi glib libharfbuzz \
al@20905 37 xorg-libX11 xorg-libXft xorg-libXrender"
al@19797 38 ;;
al@20804 39 pango-typelib)
al@20804 40 copy *.typelib
al@20804 41 CAT="development|typelib files"
al@20804 42 DEPENDS="pango"
al@20804 43 ;;
al@19797 44 *-dev)
al@20804 45 copy @dev @rm
al@20804 46 DEPENDS="pango pango-typelib \
al@20905 47 cairo-dev fontconfig-dev freetype-dev fribidi-dev glib-dev \
al@20905 48 harfbuzz-dev xorg-libXft-dev"
al@19797 49 ;;
al@19797 50 esac
pankso@22 51 }