wok-current view pango/receipt @ rev 23456

updated pure-ftpd and pure-ftpd-pam (1.0.48 -> 1.0.49)
author Hans-G?nter Theisgen
date Fri Apr 03 13:56:35 2020 +0100 (2020-04-03)
parents 124c3a7da04f
children f1f49f4e12a0
line source
1 # SliTaz package receipt.
3 PACKAGE="pango"
4 VERSION="1.36.8"
5 CATEGORY="x-window"
6 SHORT_DESC="Layout and rendering of internationalized text"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.pango.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
12 CONFIG_FILES="/etc/pango/pango.modules"
13 HOST_ARCH="i486 arm"
15 DEPENDS="cairo xorg-libXft slitaz-base-files gcc-lib-base"
16 BUILD_DEPENDS="cairo-dev libxml2-dev xorg-libXft-dev"
18 # Handle cross compilation
19 case "$ARCH" in
20 i?86)
21 BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
22 arm*)
23 export LIBTOOL=${HOST_SYSTEM}-libtool
24 ARCH_ARGS="--enable-introspection=no" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 --with-html-dir=/usr/share/doc \
34 $CONFIGURE_ARGS $ARCH_ARGS &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc/pango
42 cp -a $install/usr/bin/* $fs/usr/bin
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $install/usr/lib/pango $fs/usr/lib
45 rm -rf $fs/usr/lib/pango/1.8.0/modules/*.la
46 [ -d "$install/etc" ] && cp -a $install/etc $fs
47 touch $fs/etc/pango/pango.modules
48 }
50 # Pre and post install commands for Tazpkg.
51 post_install()
52 {
53 # Rebuilds pango.modules when installed.
54 chroot "$1/" /usr/bin/pango-querymodules > "$1/etc/pango/pango.modules"
55 }