wok-next view freetype/receipt @ rev 21452
updated socat (2.0.0-b7 -> 2.0.0-b9)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 07 13:23:44 2020 +0100 (2020-05-07) |
parents | e19ff076dc63 |
children | eddecc8a1538 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freetype"
4 VERSION="2.9.1"
5 CATEGORY="x-window"
6 SHORT_DESC="A free, high-quality, and portable font engine"
7 MAINTAINER="devel@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.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 TARBALL_SHA1="220c82062171c513e4017c523d196933c9de4a7d"
16 COOKOPTS="force-arch" # different configs, .h
18 BUILD_DEPENDS="automake libtool autoconf zlib-dev bzip2-dev libpng-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 sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg
29 sed -ri "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:g" \
30 include/freetype/config/ftoption.h
32 # ./autogen.sh &&
33 ./configure \
34 --disable-static \
35 --with-bzip2 \
36 --with-png \
37 --enable-freetype-config \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 }