wok-next view pango/receipt @ rev 19936
mate-common: automake-1.15 support, mate-desktop, mate-icon-theme, mate-system-monitor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 15 17:04:15 2017 +0200 (2017-10-15) |
parents | f463de72afe3 |
children | 0e7893ac206d |
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="harfbuzz-dev xorg-libXft-dev cairo-dev gobject-introspection-dev"
16 BUILD_DEPENDS_arm="cairo-dev libxml2-dev xorg-libXft-dev"
17 SPLIT="pango-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Handle cross compilation
23 case "$ARCH" in
24 arm*)
25 export LIBTOOL=${HOST_SYSTEM}-libtool
26 ARCH_ARGS="--enable-introspection=no" ;;
27 esac
29 ./configure \
30 --sysconfdir=/etc \
31 $CONFIGURE_ARGS $ARCH_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 pango)
40 copy bin/ *.so*
41 DEPENDS="bzlib cairo fontconfig freetype glib harfbuzz libffi \
42 liblzma libpng libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau \
43 xorg-libXdmcp xorg-libXext xorg-libXft xorg-libXrender zlib"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="pango bzip2-dev cairo-dev fontconfig-dev freetype-dev \
48 glib-dev glibc-dev harfbuzz-dev libffi-dev liblzma-dev libpng-dev \
49 libxcb-dev libxml2-dev pcre-dev pixman-dev xorg-libX11-dev \
50 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXft-dev \
51 xorg-libXrender-dev zlib-dev"
52 ;;
53 esac
54 }