wok-next view pango/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 0fcf48f89432
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pango"
4 VERSION="1.40.3"
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_arm="cairo-dev libxml2-dev xorg-libXft-dev"
15 BUILD_DEPENDS="harfbuzz-dev xorg-libXft-dev cairo-dev gobject-introspection-dev"
16 SPLIT="pango-dev"
18 compile_rules() {
19 case "$ARCH" in
20 arm*)
21 export LIBTOOL=${HOST_SYSTEM}-libtool
22 ARCH_ARGS="--enable-introspection=no" ;;
23 esac
25 ./configure \
26 --sysconfdir=/etc \
27 $CONFIGURE_ARGS $ARCH_ARGS &&
28 make && make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 pango)
34 copy bin/ *.so*
35 DEPENDS="bzlib cairo fontconfig freetype glib harfbuzz libffi \
36 liblzma libpng16 xorg-libxcb libxml2 pcre xorg-pixman xorg-libX11 xorg-libXau \
37 xorg-libXdmcp xorg-libXext xorg-libXft xorg-libXrender zlib"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="pango bzip2-dev cairo-dev fontconfig-dev freetype-dev \
42 glib-dev glibc-dev harfbuzz-dev libffi-dev xz-dev libpng16-dev \
43 xorg-libxcb-dev libxml2-dev pcre-dev xorg-pixman-dev xorg-libX11-dev \
44 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXft-dev \
45 xorg-libXrender-dev zlib-dev"
46 ;;
47 esac
48 }