wok-next view freetype/receipt @ rev 19980
Up libva (1.8.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:39:08 2017 +0300 (2017-10-18) |
parents | 9278a60d6895 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="freetype"
4 VERSION="2.7.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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="automake libtool autoconf zlib-dev bzip2-dev libpng-dev"
16 SPLIT="freetype-dev"
18 # Option "--harfbuzz" used in task to install build dependency harfbuzz-dev
19 [ -n "$harfbuzz" ] && BUILD_DEPENDS="$BUILD_DEPENDS harfbuzz-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg
25 sed -ri "s:.*(#.*SUBPIXEL_(RENDERING|HINTING 2)) .*:\1:g" \
26 include/freetype/config/ftoption.h
28 ./autogen.sh &&
29 ./configure \
30 --sysconfdir=/etc \
31 --disable-static \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 case $PACKAGE in
41 freetype)
42 copy @std
43 DEPENDS="zlib libpng harfbuzz"
44 ;;
45 freetype-dev)
46 copy @dev
47 DEPENDS="freetype bzip2-dev glib-dev harfbuzz-dev libpng-dev \
48 pcre-dev zlib-dev"
49 ;;
50 esac
51 }