wok view freetype1/receipt @ rev 15416

Up: thunderbird-langpack-en_US (17.0.9esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 03 21:52:37 2013 +0100 (2013-11-03)
parents 28148b876a49
children ee5c8b018b62
line source
1 # SliTaz package receipt.
3 PACKAGE="freetype1"
4 SOURCE="freetype"
5 VERSION="1.3.1"
6 CATEGORY="x-window"
7 SHORT_DESC="Freetype1 font engine."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freetype.org/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 DEPENDS="glibc-base"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # NOTE: DESTDIR is not recognized by freetype1 make install
21 cd $src
22 ./configure \
23 --sysconfdir=$PWD/_pkg/etc \
24 --prefix=$PWD/_pkg/usr \
25 --mandir=$PWD/_pkg/usr/share/man \
26 --includedir=$PWD/_pkg/usr/include \
27 --libdir=$PWD/_pkg/usr/lib \
28 --with-x --enable-gif \
29 $CONFIGURE_ARGS &&
30 make ttlib ttpo || return 1
32 cd lib
33 make DESTDIR=$DESTDIR -f arch/unix/Makefile install || return 1
34 cd ../po
35 make DESTDIR=$DESTDIR -f Makefile install || return 1
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }