wok-next diff pango/receipt @ rev 19743
Remake/fix: alsa-lib, alsaplayer; update base (LFS) packages: bash, binutils, bison, bzip2, diffutils, file, findutils, gawk, gcc, gettext, glibc, gmp, m4, mpc-library, mpfr, ncurses, patch, xz; update: tazpkg, cookutils, svgcleaner.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 06 17:37:54 2017 +0300 (2017-06-06) |
parents | 124c3a7da04f |
children | f463de72afe3 |
line diff
1.1 --- a/pango/receipt Fri Dec 04 02:45:17 2015 +0200 1.2 +++ b/pango/receipt Tue Jun 06 17:37:54 2017 +0300 1.3 @@ -1,36 +1,36 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="pango" 1.7 -VERSION="1.36.8" 1.8 +VERSION="1.40.1" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="Layout and rendering of internationalized text" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.xz" 1.14 WEB_SITE="http://www.pango.org/" 1.15 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" 1.16 -CONFIG_FILES="/etc/pango/pango.modules" 1.17 HOST_ARCH="i486 arm" 1.18 1.19 -DEPENDS="cairo xorg-libXft slitaz-base-files gcc-lib-base" 1.20 -BUILD_DEPENDS="cairo-dev libxml2-dev xorg-libXft-dev" 1.21 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.22 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" 1.23 + 1.24 +DEPENDS="bzlib cairo fontconfig freetype glib harfbuzz libffi liblzma libpng \ 1.25 +libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 1.26 +xorg-libXft xorg-libXrender zlib" 1.27 +BUILD_DEPENDS="harfbuzz-dev xorg-libXft-dev cairo-dev gobject-introspection-dev" 1.28 +BUILD_DEPENDS_arm="cairo-dev libxml2-dev xorg-libXft-dev" 1.29 1.30 # Handle cross compilation 1.31 case "$ARCH" in 1.32 - i?86) 1.33 - BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;; 1.34 arm*) 1.35 + BUILD_DEPENDS=$BUILD_DEPENDS_arm 1.36 export LIBTOOL=${HOST_SYSTEM}-libtool 1.37 ARCH_ARGS="--enable-introspection=no" ;; 1.38 esac 1.39 1.40 -# Rules to configure and make the package. 1.41 +# Rules to configure and make the package. 1.42 compile_rules() 1.43 { 1.44 ./configure \ 1.45 - --prefix=/usr \ 1.46 --sysconfdir=/etc \ 1.47 - --with-html-dir=/usr/share/doc \ 1.48 $CONFIGURE_ARGS $ARCH_ARGS && 1.49 make && make install 1.50 } 1.51 @@ -38,18 +38,6 @@ 1.52 # Rules to gen a SliTaz package suitable for Tazpkg. 1.53 genpkg_rules() 1.54 { 1.55 - mkdir -p $fs/usr/bin $fs/usr/lib $fs/etc/pango 1.56 - cp -a $install/usr/bin/* $fs/usr/bin 1.57 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.58 - cp -a $install/usr/lib/pango $fs/usr/lib 1.59 - rm -rf $fs/usr/lib/pango/1.8.0/modules/*.la 1.60 - [ -d "$install/etc" ] && cp -a $install/etc $fs 1.61 - touch $fs/etc/pango/pango.modules 1.62 + cook_copy_folders bin 1.63 + cook_copy_files *.so* 1.64 } 1.65 - 1.66 -# Pre and post install commands for Tazpkg. 1.67 -post_install() 1.68 -{ 1.69 - # Rebuilds pango.modules when installed. 1.70 - chroot "$1/" /usr/bin/pango-querymodules > "$1/etc/pango/pango.modules" 1.71 -}