wok-next view freetype/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 82b613cfd1e0
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freetype"
4 VERSION="2.10.2"
5 CATEGORY="x-window"
6 SHORT_DESC="A free, high-quality, and portable font engine"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="FTL GPL2"
9 WEB_SITE="https://www.freetype.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/freetype2.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # 2.9.1 TARBALL_SHA1="220c82062171c513e4017c523d196933c9de4a7d"
16 COOKOPTS="force-arch" # different configs, .h
18 BUILD_DEPENDS="autoconf automake bzip2-dev libpng-dev libtool zlib-dev"
19 SPLIT="$PACKAGE-dev"
21 DEPENDS_std="libbzip2 libharfbuzz libpng zlib"
22 DEPENDS_dev="$PACKAGE bzip2-dev harfbuzz-dev libpng-dev zlib-dev"
24 # Option "--harfbuzz" used in the task to install build dependency harfbuzz-dev
25 [ -n "$harfbuzz" ] && BUILD_DEPENDS="$BUILD_DEPENDS harfbuzz-dev"
27 compile_rules()
28 {
29 sed -ri "s:.*(AUX_MODULES.*valid):\1:" \
30 modules.cfg
31 sed -ri "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:g" \
32 include/freetype/config/ftoption.h
34 # ./autogen.sh &&
35 ./configure \
36 --disable-static \
37 --with-bzip2 \
38 --with-png \
39 --enable-freetype-config \
40 $CONFIGURE_ARGS &&
41 make &&
42 make install
43 }