wok-next view freetype/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents 4ca71b0ef823
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freetype"
4 VERSION="2.8"
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/stable/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|HINTING 2)) .*:\1:g" \
24 include/freetype/config/ftoption.h
26 ./autogen.sh &&
27 ./configure \
28 --sysconfdir=/etc \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 freetype)
38 copy @std
39 DEPENDS="zlib libpng16 harfbuzz"
40 ;;
41 freetype-dev)
42 copy @dev
43 DEPENDS="freetype bzip2-dev glib-dev harfbuzz-dev libpng16-dev \
44 pcre-dev zlib-dev"
45 ;;
46 esac
47 }