wok diff freetype/receipt @ rev 18934
Up slitaz-configs (273)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 27 07:57:39 2016 +0100 (2016-02-27) |
parents | dc05f28d0496 |
children | 86698e8d683a |
line diff
1.1 --- a/freetype/receipt Sun Mar 02 15:43:44 2014 +0100 1.2 +++ b/freetype/receipt Sat Feb 27 07:57:39 2016 +0100 1.3 @@ -1,27 +1,37 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="freetype" 1.7 -VERSION="2.4.11" 1.8 +VERSION="2.6.1" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Freetype font engine." 1.11 +SHORT_DESC="A free, high-quality, and portable font engine" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 -LICENSE="BSD GPL2" 1.14 +LICENSE="FTL GPL2" 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 WEB_SITE="http://www.freetype.org/" 1.17 -WGET_URL="http://download.savannah.gnu.org/releases/freetype/$TARBALL" 1.18 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.19 HOST_ARCH="i486 arm" 1.20 1.21 -DEPENDS="slitaz-base-files zlib" 1.22 -BUILD_DEPENDS="bzip2-dev" 1.23 +DEPENDS="zlib libpng harfbuzz" 1.24 +BUILD_DEPENDS="automake libtool autoconf bzip2-dev libpng-dev harfbuzz-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 + # Fix make install for version 2.6.1 1.30 + patch -p1 -i $stuff/freetype261-install.patch 1.31 + 1.32 + # Directives from LFS 1.33 + sed -e "/AUX.*.gxvalid/s@^# @@" \ 1.34 + -e "/AUX.*.otvalid/s@^# @@" \ 1.35 + -i modules.cfg && 1.36 + sed -e 's:.*\(#.*SUBPIXEL.*\) .*:\1:' \ 1.37 + -i include/freetype/config/ftoption.h && 1.38 + ./autogen.sh && 1.39 ./configure \ 1.40 --sysconfdir=/etc \ 1.41 $CONFIGURE_ARGS && 1.42 make && 1.43 - make install 2>&1 | grep -v rmdir 1.44 + make install 1.45 } 1.46 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 @@ -31,4 +41,3 @@ 1.49 cp -a $install/usr/bin $fs/usr 1.50 cp -a $install/usr/lib/*.so* $fs/usr/lib 1.51 } 1.52 -