wok-6.x view freetype1/receipt @ rev 15703
Up: Geany (1.23.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 22 15:34:21 2013 +0100 (2013-12-22) |
parents | 7bb096863642 |
children | a78610b2eb47 |
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=$DESTDIR/etc \
24 --prefix=$DESTDIR/usr \
25 --mandir=$DESTDIR/usr/share/man \
26 --includedir=$DESTDIR/usr/include \
27 --libdir=$DESTDIR/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 }