wok-4.x view freetype/receipt @ rev 3370

Childsplay: Add post_install()
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jun 11 19:05:25 2009 +0000 (2009-06-11)
parents 3eacc9c96968
children a4786da7c34b
line source
1 # SliTaz package receipt.
3 PACKAGE="freetype"
4 VERSION="2.3.9"
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=$PWD/_pkg 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 $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 }