wok-6.x view freetype/receipt @ rev 7862

tazpkg-web: exclude path from common files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 01 21:01:35 2011 +0100 (2011-01-01)
parents 1e6455a554bc
children 991166a88afa
line source
1 # SliTaz package receipt.
3 PACKAGE="freetype"
4 VERSION="2.4.4"
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 }