wok-next annotate freetype/receipt @ rev 21107
Restore Perl modules removed accidentally in commit 19709
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 07 11:16:02 2019 +0200 (2019-01-07) |
parents | e19ff076dc63 |
children | eddecc8a1538 |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@21 | 2 |
pankso@21 | 3 PACKAGE="freetype" |
al@20896 | 4 VERSION="2.9.1" |
pankso@21 | 5 CATEGORY="x-window" |
al@18549 | 6 SHORT_DESC="A free, high-quality, and portable font engine" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
al@18549 | 8 LICENSE="FTL GPL2" |
al@19306 | 9 WEB_SITE="https://www.freetype.org/" |
al@20896 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/freetype2.html" |
al@19625 | 11 |
pankso@21 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@18549 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@21087 | 14 TARBALL_SHA1="220c82062171c513e4017c523d196933c9de4a7d" |
al@14225 | 15 |
al@21094 | 16 COOKOPTS="force-arch" # different configs, .h |
al@21094 | 17 |
al@21078 | 18 BUILD_DEPENDS="automake libtool autoconf zlib-dev bzip2-dev libpng-dev" |
al@21020 | 19 SPLIT="$PACKAGE-dev" |
pankso@21 | 20 |
al@21105 | 21 DEPENDS_std="libbzip2 libharfbuzz libpng zlib" |
al@21087 | 22 DEPENDS_dev="$PACKAGE bzip2-dev harfbuzz-dev libpng-dev zlib-dev" |
al@21087 | 23 |
al@20443 | 24 # Option "--harfbuzz" used in the task to install build dependency harfbuzz-dev |
al@19797 | 25 [ -n "$harfbuzz" ] && BUILD_DEPENDS="$BUILD_DEPENDS harfbuzz-dev" |
al@19797 | 26 |
al@20443 | 27 compile_rules() { |
al@19625 | 28 sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg |
al@20541 | 29 sed -ri "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:g" \ |
al@19625 | 30 include/freetype/config/ftoption.h |
al@18549 | 31 |
al@20541 | 32 # ./autogen.sh && |
pankso@972 | 33 ./configure \ |
al@19625 | 34 --disable-static \ |
al@20917 | 35 --with-bzip2 \ |
al@20917 | 36 --with-png \ |
al@20917 | 37 --enable-freetype-config \ |
pascal@2486 | 38 $CONFIGURE_ARGS && |
pascal@14231 | 39 make && |
al@18549 | 40 make install |
pankso@21 | 41 } |