wok-next view freetype/receipt @ rev 20896
dialog: up (1.3-20180621); dropbear: up (2018.76); e2fsprogs: up (1.44.3); elfutils: up (0.173); eudev: up (3.2.5); expat: up (2.2.5); fontconfig: up (2.13.0); freetype: up (2.9.1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 20 16:59:33 2018 +0300 (2018-07-20) |
parents | afbc312ba6b0 |
children | 8e082c402397 |
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="pankso@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"
15 BUILD_DEPENDS="automake libtool autoconf zlib-dev bzip2-dev libpng16-dev"
16 SPLIT="freetype-dev"
18 # Option "--harfbuzz" used in the task to install build dependency harfbuzz-dev
19 [ -n "$harfbuzz" ] && BUILD_DEPENDS="$BUILD_DEPENDS harfbuzz-dev"
21 compile_rules() {
22 sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg
23 sed -ri "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:g" \
24 include/freetype/config/ftoption.h
26 # ./autogen.sh &&
27 ./configure \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 freetype)
37 copy @std
38 DEPENDS="bzlib libharfbuzz libpng16 zlib"
39 ;;
40 freetype-dev)
41 copy @dev
42 DEPENDS="freetype bzip2-dev harfbuzz-dev libpng16-dev zlib-dev"
43 ;;
44 esac
45 }