wok-next view freetype/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | 0f2575775b2d |
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"
15 BUILD_DEPENDS="automake libtool autoconf zlib-dev bzip2-dev libpng-dev"
16 SPLIT="$PACKAGE-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 --with-bzip2 \
30 --with-png \
31 --enable-freetype-config \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 freetype)
40 copy @std
41 DEPENDS="bzlib libharfbuzz libpng zlib"
42 ;;
43 freetype-dev)
44 copy @dev
45 DEPENDS="freetype bzip2-dev harfbuzz-dev libpng-dev zlib-dev"
46 ;;
47 esac
48 }