wok-next view fontconfig/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 835b3b8ce6ac
children 68405ac5fe8a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fontconfig"
4 VERSION="2.12.6"
5 CATEGORY="x-window"
6 SHORT_DESC="Font configuration utilities and library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/fontconfig.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.freedesktop.org/software/fontconfig/release/$TARBALL"
15 BUILD_DEPENDS="libxml2-dev freetype-dev gperf"
16 SPLIT="fontconfig-dev"
18 compile_rules() {
19 rm -f src/fcobjshash.h
21 # aclocal
22 ./configure \
23 --with-arch=$ARCH \
24 --disable-static \
25 --enable-iconv \
26 --enable-libxml2 \
27 --disable-docs \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 fontconfig)
37 copy @std
38 DEPENDS="freetype libxml2"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="fontconfig freetype-dev libxml2-dev"
43 ;;
44 esac
45 }