wok-next view freetype/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }