wok annotate freetype/receipt @ rev 12679

centerim: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 15:12:54 2012 +0200 (2012-05-01)
parents 991166a88afa
children 66feb7f9e198
rev   line source
pankso@21 1 # SliTaz package receipt.
pankso@21 2
pankso@21 3 PACKAGE="freetype"
pankso@12505 4 VERSION="2.4.9"
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"
pascal@2486 11 DEPENDS="zlib"
pankso@21 12
pankso@21 13 # Rules to configure and make the package.
pankso@21 14 compile_rules()
pankso@21 15 {
pankso@972 16 cd $src
pankso@972 17 ./configure \
pankso@972 18 --sysconfdir=/etc \
pankso@972 19 --prefix=/usr \
pankso@972 20 --mandir=/usr/share/man \
pascal@2486 21 $CONFIGURE_ARGS &&
pankso@12505 22 make && make install
pankso@21 23 }
pankso@21 24
pankso@21 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@21 26 genpkg_rules()
pankso@21 27 {
pankso@21 28 mkdir -p $fs/usr/lib
slaxemulator@11169 29 cp -a $install/usr/bin $fs/usr
slaxemulator@11169 30 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@21 31 }