wok-next annotate freetype/receipt @ rev 19625

Up freetype (2.6.5)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 08 18:16:25 2017 +0200 (2017-02-08)
parents f4028fc98216
children 9278a60d6895
rev   line source
pankso@21 1 # SliTaz package receipt.
pankso@21 2
pankso@21 3 PACKAGE="freetype"
al@19625 4 VERSION="2.6.5"
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"
al@19306 9 WEB_SITE="https://www.freetype.org/"
al@19625 10 HOST_ARCH="i486 arm"
al@19625 11
pankso@21 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@18549 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@14225 14
al@18549 15 DEPENDS="zlib libpng harfbuzz"
al@19625 16 BUILD_DEPENDS="automake libtool autoconf zlib-dev bzip2-dev libpng-dev harfbuzz-dev"
pankso@21 17
pankso@21 18 # Rules to configure and make the package.
pankso@21 19 compile_rules()
pankso@21 20 {
al@19625 21 sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg
al@19625 22 sed -ri "s:.*(#.*SUBPIXEL_(RENDERING|HINTING 2)) .*:\1:g" \
al@19625 23 include/freetype/config/ftoption.h
al@18549 24
al@18549 25 ./autogen.sh &&
pankso@972 26 ./configure \
pankso@972 27 --sysconfdir=/etc \
al@19625 28 --disable-static \
pascal@2486 29 $CONFIGURE_ARGS &&
pascal@14231 30 make &&
al@18549 31 make install
pankso@21 32 }
pankso@21 33
pankso@21 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@21 35 genpkg_rules()
pankso@21 36 {
al@19308 37 cook_copy_files *.so*
pankso@21 38 }