wok-current annotate freetype/receipt @ rev 18918

Add brotli
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 24 16:36:21 2016 +0100 (2016-02-24)
parents dc05f28d0496
children 86698e8d683a
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
al@18549 23 # Directives from LFS
al@18549 24 sed -e "/AUX.*.gxvalid/s@^# @@" \
al@18549 25 -e "/AUX.*.otvalid/s@^# @@" \
al@18549 26 -i modules.cfg &&
al@18549 27 sed -e 's:.*\(#.*SUBPIXEL.*\) .*:\1:' \
al@18549 28 -i include/freetype/config/ftoption.h &&
al@18549 29 ./autogen.sh &&
pankso@972 30 ./configure \
pankso@972 31 --sysconfdir=/etc \
pascal@2486 32 $CONFIGURE_ARGS &&
pascal@14231 33 make &&
al@18549 34 make install
pankso@21 35 }
pankso@21 36
pankso@21 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@21 38 genpkg_rules()
pankso@21 39 {
pankso@21 40 mkdir -p $fs/usr/lib
slaxemulator@11169 41 cp -a $install/usr/bin $fs/usr
slaxemulator@11169 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@21 43 }