wok-next annotate fontconfig/receipt @ rev 20907

slitaz-base-files: set correct SLITAZ_ARCH in slitaz.conf (affected x86_64) - thanks shann
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 10 15:39:58 2018 +0300 (2018-08-10)
parents 89ae9cf3b230
children 3460c1bb1b40
rev   line source
al@19741 1 # SliTaz package receipt v2.
pankso@21 2
pankso@21 3 PACKAGE="fontconfig"
al@20896 4 VERSION="2.13.0"
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@19681 9 WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/"
al@20896 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/fontconfig.html"
al@19647 11
al@14225 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20629 13 WGET_URL="https://www.freedesktop.org/software/fontconfig/release/$TARBALL"
al@14225 14
al@19799 15 BUILD_DEPENDS="libxml2-dev freetype-dev gperf"
al@19741 16 SPLIT="fontconfig-dev"
pankso@21 17
al@20443 18 compile_rules() {
al@20443 19 rm -f src/fcobjshash.h
al@19798 20
al@20629 21 # aclocal
pankso@3852 22 ./configure \
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@20569 29 fix libtool &&
al@14225 30 make &&
al@20629 31 make install
pankso@21 32 }
al@19741 33
al@20534 34 genpkg_rules() {
al@19741 35 case $PACKAGE in
al@19741 36 fontconfig)
al@19741 37 copy @std
al@20629 38 DEPENDS="freetype libxml2"
al@19741 39 ;;
al@20534 40 *-dev)
al@19741 41 copy @dev
al@20629 42 DEPENDS="fontconfig freetype-dev libxml2-dev"
al@19741 43 ;;
al@19741 44 esac
al@19741 45 }