wok-current annotate freetype/receipt @ rev 19127
freetype: clear fonts should be at least optional
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue May 10 12:26:40 2016 +0200 (2016-05-10) |
parents | 7e930b05781d |
children | c460585add2a |
rev | line source |
---|---|
pankso@21 | 1 # SliTaz package receipt. |
pankso@21 | 2 |
pankso@21 | 3 PACKAGE="freetype" |
al@18549 | 4 VERSION="2.6.1" |
pankso@21 | 5 CATEGORY="x-window" |
al@18549 | 6 SHORT_DESC="A free, high-quality, and portable font engine" |
pankso@21 | 7 MAINTAINER="pankso@slitaz.org" |
al@18549 | 8 LICENSE="FTL GPL2" |
pankso@21 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@21 | 10 WEB_SITE="http://www.freetype.org/" |
al@18549 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@15995 | 12 HOST_ARCH="i486 arm" |
al@14225 | 13 |
al@18549 | 14 DEPENDS="zlib libpng harfbuzz" |
al@18549 | 15 BUILD_DEPENDS="automake libtool autoconf bzip2-dev libpng-dev harfbuzz-dev" |
pankso@21 | 16 |
pankso@21 | 17 # Rules to configure and make the package. |
pankso@21 | 18 compile_rules() |
pankso@21 | 19 { |
al@18549 | 20 # Fix make install for version 2.6.1 |
al@18549 | 21 patch -p1 -i $stuff/freetype261-install.patch |
al@18549 | 22 |
psychomaniak@19127 | 23 # Optional old style fonts |
psychomaniak@19127 | 24 patch -p1 -i $stuff/NO_SUBPIXEL_HINTING.env.patch |
psychomaniak@19127 | 25 |
al@18549 | 26 # Directives from LFS |
al@18549 | 27 sed -e "/AUX.*.gxvalid/s@^# @@" \ |
al@18549 | 28 -e "/AUX.*.otvalid/s@^# @@" \ |
al@18549 | 29 -i modules.cfg && |
al@18549 | 30 sed -e 's:.*\(#.*SUBPIXEL.*\) .*:\1:' \ |
al@18549 | 31 -i include/freetype/config/ftoption.h && |
al@18549 | 32 ./autogen.sh && |
pankso@972 | 33 ./configure \ |
pankso@972 | 34 --sysconfdir=/etc \ |
pascal@2486 | 35 $CONFIGURE_ARGS && |
pascal@14231 | 36 make && |
al@18549 | 37 make install |
pankso@21 | 38 } |
pankso@21 | 39 |
pankso@21 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@21 | 41 genpkg_rules() |
pankso@21 | 42 { |
pankso@21 | 43 mkdir -p $fs/usr/lib |
slaxemulator@11169 | 44 cp -a $install/usr/bin $fs/usr |
slaxemulator@11169 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@21 | 46 } |