wok view freetype/receipt @ rev 18897

syslinux/isohybrid.exe add -r support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 14 22:06:06 2016 +0100 (2016-02-14)
parents dc05f28d0496
children 86698e8d683a
line source
1 # SliTaz package receipt.
3 PACKAGE="freetype"
4 VERSION="2.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="A free, high-quality, and portable font engine"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="FTL GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.freetype.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="zlib libpng harfbuzz"
15 BUILD_DEPENDS="automake libtool autoconf bzip2-dev libpng-dev harfbuzz-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Fix make install for version 2.6.1
21 patch -p1 -i $stuff/freetype261-install.patch
23 # Directives from LFS
24 sed -e "/AUX.*.gxvalid/s@^# @@" \
25 -e "/AUX.*.otvalid/s@^# @@" \
26 -i modules.cfg &&
27 sed -e 's:.*\(#.*SUBPIXEL.*\) .*:\1:' \
28 -i include/freetype/config/ftoption.h &&
29 ./autogen.sh &&
30 ./configure \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }