wok-next annotate pango/receipt @ rev 20443
The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Feb 24 16:17:33 2018 +0200 (2018-02-24) |
parents | 4ca71b0ef823 |
children | bce36a298f1e |
rev | line source |
---|---|
al@19797 | 1 # SliTaz package receipt v2. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="pango" |
al@19797 | 4 VERSION="1.40.3" |
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@20443 | 14 BUILD_DEPENDS_arm="cairo-dev libxml2-dev xorg-libXft-dev" |
al@19689 | 15 BUILD_DEPENDS="harfbuzz-dev xorg-libXft-dev cairo-dev gobject-introspection-dev" |
al@19797 | 16 SPLIT="pango-dev" |
pankso@16084 | 17 |
al@20443 | 18 compile_rules() { |
al@19797 | 19 case "$ARCH" in |
al@19797 | 20 arm*) |
al@19797 | 21 export LIBTOOL=${HOST_SYSTEM}-libtool |
al@19797 | 22 ARCH_ARGS="--enable-introspection=no" ;; |
al@19797 | 23 esac |
al@19797 | 24 |
pankso@16133 | 25 ./configure \ |
pankso@16133 | 26 --sysconfdir=/etc \ |
pankso@16133 | 27 $CONFIGURE_ARGS $ARCH_ARGS && |
pankso@16133 | 28 make && make install |
pankso@22 | 29 } |
pankso@22 | 30 |
al@20443 | 31 genpkg_rules() { |
al@19797 | 32 case $PACKAGE in |
al@19797 | 33 pango) |
al@19797 | 34 copy bin/ *.so* |
al@19797 | 35 DEPENDS="bzlib cairo fontconfig freetype glib harfbuzz libffi \ |
al@19797 | 36 liblzma libpng libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau \ |
al@19797 | 37 xorg-libXdmcp xorg-libXext xorg-libXft xorg-libXrender zlib" |
al@19797 | 38 ;; |
al@19797 | 39 *-dev) |
al@19797 | 40 copy @dev |
al@19797 | 41 DEPENDS="pango bzip2-dev cairo-dev fontconfig-dev freetype-dev \ |
al@19797 | 42 glib-dev glibc-dev harfbuzz-dev libffi-dev liblzma-dev libpng-dev \ |
al@19797 | 43 libxcb-dev libxml2-dev pcre-dev pixman-dev xorg-libX11-dev \ |
al@19797 | 44 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXft-dev \ |
al@19797 | 45 xorg-libXrender-dev zlib-dev" |
al@19797 | 46 ;; |
al@19797 | 47 esac |
pankso@22 | 48 } |