wok-stable annotate freetype/receipt @ rev 593

get-google-earth: use tmp dir
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 17 09:50:35 2008 +0000 (2008-04-17)
parents
children 7da59b02ab60
rev   line source
pankso@21 1 # SliTaz package receipt.
pankso@21 2
pankso@21 3 PACKAGE="freetype"
pankso@21 4 VERSION="2.3.5"
pankso@21 5 CATEGORY="x-window"
pankso@21 6 SHORT_DESC="Freetype font engine."
pankso@21 7 MAINTAINER="pankso@slitaz.org"
pankso@21 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@21 9 WEB_SITE="http://www.freetype.org/"
pankso@21 10 WGET_URL="http://download.savannah.gnu.org/releases/freetype/$TARBALL"
pankso@21 11
pankso@21 12 # Rules to configure and make the package.
pankso@21 13 compile_rules()
pankso@21 14 {
pankso@21 15 cd $src
pankso@21 16 ./configure --sysconfdir=/etc --prefix=/usr \
pankso@21 17 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@21 18 make
pankso@21 19 make DESTDIR=$PWD/_pkg install
pankso@21 20 }
pankso@21 21
pankso@21 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@21 23 genpkg_rules()
pankso@21 24 {
pankso@21 25 mkdir -p $fs/usr/lib
pankso@21 26 cp -a $_pkg/usr/bin $fs/usr
pankso@21 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@21 28 strip -s $fs/usr/lib/*.so*
pankso@21 29 }