wok-next view fontconfig/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | 3460c1bb1b40 |
children | 0f2575775b2d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fontconfig"
4 VERSION="2.13.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Font configuration utilities and library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/fontconfig/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/fontconfig.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.freedesktop.org/software/fontconfig/release/$TARBALL"
15 BUILD_DEPENDS="gettext-dev libxml2-dev freetype-dev gperf"
16 SPLIT="$PACKAGE-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 }