wok-6.x view freetype1/receipt @ rev 2382
Add linux-tickless
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 08 15:41:12 2009 +0000 (2009-03-08) |
parents | 91687d82cc8a |
children | 22feedab4b8f |
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 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freetype.org/"
11 WGET_URL="http://superb-east.dl.sourceforge.net/sourceforge/freetype/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 # NOTE: DESTDIR is not recognized by freetype1 make install
18 cd $src
19 ./configure \
20 --sysconfdir=$PWD/_pkg/etc \
21 --prefix=$PWD/_pkg/usr \
22 --mandir=$PWD/_pkg/usr/share/man \
23 --includedir=$PWD/_pkg/usr/include/freetype1 \
24 --libdir=$PWD/_pkg/usr/lib \
25 $CONFIGURE_ARGS &&
26 make ttlib ttpo || return 1
28 cd lib
29 make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1
30 cd ../po
31 make DESTDIR=$PWD/_pkg -f Makefile install || return 1
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 }