wok-next view freetype1/receipt @ rev 3291

Add: h8300-gcc; Update: h8300-gcc3
author Matthew Sheets <rcx@zoominternet.net>
date Wed Jun 03 15:24:25 2009 +0000 (2009-06-03)
parents 7f5e5c66d1ae
children c54710fa97f6
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 \
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 }