wok-next annotate fontconfig/receipt @ rev 5315

Up: emacs-pkg-lua-mode (2010-04-04)
author Dominique Corbex <domcox@slitaz.org>
date Wed Apr 21 18:25:39 2010 +0200 (2010-04-21)
parents 3eacc9c96968
children af928fecc8ab
rev   line source
pankso@21 1 # SliTaz package receipt.
pankso@21 2
pankso@21 3 PACKAGE="fontconfig"
pankso@3852 4 VERSION="2.7.1"
pankso@21 5 CATEGORY="x-window"
pankso@21 6 SHORT_DESC="Font configuration utilities and library."
pankso@21 7 MAINTAINER="pankso@slitaz.org"
pascal@2486 8 DEPENDS="expat freetype zlib"
pankso@1812 9 BUILD_DEPENDS="libxml2-dev freetype-dev"
pankso@21 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@21 11 WEB_SITE="http://www.fontconfig.org/wiki/"
pankso@21 12 WGET_URL="http://fontconfig.org/release/$TARBALL"
pankso@21 13
pankso@21 14 # Rules to configure and make the package.
pankso@21 15 compile_rules()
pankso@21 16 {
pankso@3852 17 cd $src
pankso@3852 18 ./configure \
pankso@3852 19 --sysconfdir=/etc \
pankso@3852 20 --prefix=/usr \
pankso@3852 21 --mandir=/usr/share/man \
pankso@3852 22 --localstatedir=/var \
pankso@3852 23 $CONFIGURE_ARGS &&
pankso@3852 24 make && make DESTDIR=$PWD/_pkg install
pankso@21 25 }
pankso@21 26
pankso@21 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@21 28 genpkg_rules()
pankso@21 29 {
pankso@21 30 mkdir -p $fs/usr/lib
pankso@1812 31 cp -a $_pkg/usr/bin $fs/usr
pankso@1812 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@1812 33 cp -a $_pkg/etc $fs
pankso@1812 34 cp -a $_pkg/var $fs
pankso@21 35 }