wok-current view freetype1/receipt @ rev 5711

busybox: add conspy
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 23 21:48:13 2010 +0200 (2010-06-23)
parents 22feedab4b8f
children 28148b876a49
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 BUILD_DEPENDS="slitaz-toolchain"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://www.freetype.org/"
13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # NOTE: DESTDIR is not recognized by freetype1 make install
20 cd $src
21 ./configure \
22 --sysconfdir=$PWD/_pkg/etc \
23 --prefix=$PWD/_pkg/usr \
24 --mandir=$PWD/_pkg/usr/share/man \
25 --includedir=$PWD/_pkg/usr/include \
26 --libdir=$PWD/_pkg/usr/lib \
27 --with-x --enable-gif \
28 $CONFIGURE_ARGS &&
29 make ttlib ttpo || return 1
31 cd lib
32 make DESTDIR=$PWD/_pkg -f arch/unix/Makefile install || return 1
33 cd ../po
34 make DESTDIR=$PWD/_pkg -f Makefile install || return 1
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 }