wok-4.x view freetype1/receipt @ rev 9410
Up: lm-sensors to 3.3.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 29 01:31:00 2011 +0000 (2011-03-29) |
parents | c54710fa97f6 |
children |
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 DEPENDS="glibc-base"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.freetype.org/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # NOTE: DESTDIR is not recognized by freetype1 make install
19 cd $src
20 ./configure \
21 --sysconfdir=$PWD/_pkg/etc \
22 --prefix=$PWD/_pkg/usr \
23 --mandir=$PWD/_pkg/usr/share/man \
24 --includedir=$PWD/_pkg/usr/include \
25 --libdir=$PWD/_pkg/usr/lib \
26 --with-x --enable-gif \
27 $CONFIGURE_ARGS &&
28 make ttlib ttpo || return 1
30 cd lib
31 make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1
32 cd ../po
33 make DESTDIR=$PWD/_pkg -f Makefile install || return 1
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 }