wok annotate fontconfig/receipt @ rev 16310

ARM: add patch
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 09:11:44 2014 +0200 (2014-04-09)
parents 3b4e4318134e
children 195ccf2b5a37
rev   line source
pankso@21 1 # SliTaz package receipt.
pankso@21 2
pankso@21 3 PACKAGE="fontconfig"
al@14225 4 VERSION="2.10.91"
pankso@21 5 CATEGORY="x-window"
al@14225 6 SHORT_DESC="Font configuration utilities and library"
pankso@21 7 MAINTAINER="pankso@slitaz.org"
pascal@15593 8 LICENSE="MIT"
al@14225 9 WEB_SITE="http://www.fontconfig.org/wiki/"
al@14225 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@14225 11 WGET_URL="http://www.freedesktop.org/software/fontconfig/release/$TARBALL"
pankso@16057 12 HOST_ARCH="i486 arm"
al@14225 13
al@14225 14 DEPENDS="bzlib expat freetype libxml2"
pankso@1812 15 BUILD_DEPENDS="libxml2-dev freetype-dev"
pankso@21 16
pankso@21 17 # Rules to configure and make the package.
pankso@21 18 compile_rules()
pankso@21 19 {
pankso@3852 20 ./configure \
pankso@3852 21 --sysconfdir=/etc \
pankso@3852 22 --localstatedir=/var \
pankso@10293 23 --with-arch=$ARCH \
al@14225 24 --disable-static \
al@14225 25 --enable-iconv \
al@14225 26 --enable-libxml2 \
al@14225 27 --disable-docs \
pankso@3852 28 $CONFIGURE_ARGS &&
al@14225 29 make &&
al@14225 30 make DESTDIR=$install install
pankso@21 31 }
pankso@21 32
pankso@21 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@21 34 genpkg_rules()
pankso@21 35 {
pankso@21 36 mkdir -p $fs/usr/lib
al@14225 37 cp -a $install/etc $fs
al@14225 38 cp -a $install/usr/bin $fs/usr
al@14225 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14225 40 cp -a $install/usr/share $fs/usr
al@14225 41 cp -a $install/var $fs
pankso@21 42 }