wok view freetype1/receipt @ rev 11257

iron-linux: Cookutils uses wget -O $SRC/$TARBALL so we can change TARBALL to save source as TARBALL. This needs to be done for iron-linux cause other wise it will just find iron-linux.tar.gz and use the old version.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 07 11:21:08 2011 +0000 (2011-11-07)
parents c54710fa97f6
children 7bb096863642
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 }