wok view freetype/receipt @ rev 11392

Compat: ensure that sqlite genpkg_rules() doesn't return a false failure
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 05:11:58 2011 +0100 (2011-12-10)
parents 8a6c9717345f
children 19ade3a2cc9c
line source
1 # SliTaz package receipt.
3 PACKAGE="freetype"
4 VERSION="2.4.7"
5 CATEGORY="x-window"
6 SHORT_DESC="Freetype font engine."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.freetype.org/"
10 WGET_URL="http://download.savannah.gnu.org/releases/freetype/$TARBALL"
11 DEPENDS="zlib"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --sysconfdir=/etc \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }