wok annotate fontconfig/receipt @ rev 897

module-init-tools: use lzlib to load modules compressed with gzip or lzma
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 12 11:53:31 2008 +0000 (2008-06-12)
parents 04d4bd759667
children acdb0e641156
rev   line source
pankso@21 1 # SliTaz package receipt.
pankso@21 2
pankso@21 3 PACKAGE="fontconfig"
pankso@21 4 VERSION="2.4.2"
pankso@21 5 CATEGORY="x-window"
pankso@21 6 SHORT_DESC="Font configuration utilities and library."
pankso@21 7 MAINTAINER="pankso@slitaz.org"
pankso@96 8 BUILD_DEPENDS="libxml2-dev"
pankso@21 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@21 10 WEB_SITE="http://www.fontconfig.org/wiki/"
pankso@21 11 WGET_URL="http://fontconfig.org/release/$TARBALL"
pankso@21 12
pankso@21 13 # Rules to configure and make the package.
pankso@21 14 compile_rules()
pankso@21 15 {
pankso@21 16 cd $src
pankso@21 17 ./configure --sysconfdir=/etc --prefix=/usr \
pankso@21 18 --mandir=/usr/share/man --localstatedir=/var \
pankso@21 19 $CONFIGURE_ARGS
pankso@21 20 make
pankso@21 21 make DESTDIR=$PWD/_pkg install
pankso@21 22 }
pankso@21 23
pankso@21 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@21 25 genpkg_rules()
pankso@21 26 {
pankso@21 27 mkdir -p $fs/usr/lib
pankso@21 28 cp -a $_pkg/usr/bin $fs/usr
pankso@21 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@21 30 cp -a $_pkg/etc $fs
pankso@21 31 cp -a $_pkg/var $fs
pankso@21 32 # Strip cmds.
pankso@21 33 strip -s $fs/usr/bin/*
pankso@21 34 strip -s $fs/usr/lib/*
pankso@21 35 }