|
root / base / font-util
font-util Plain Text 45 lines 1.3 KB
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/sh
# Build script for font-util (autotools). No shared library output (build
# helpers + font metadata only) - confirmed zero libtool references in the
# release configure, so the Template A libtool hammerhead* sed does not
# apply here.
set -e
cd "$SRCDIR"

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
export CFLAGS="${CFLAGS} -D__EXTENSIONS__"

./configure \
    --prefix="$PREFIX" \
    --build="$BUILD_TRIPLE" \
    --host="$BUILD_TRIPLE" \
    --sysconfdir="$SYSCONFDIR"

gmake -j${JOBS:-1}
gmake install DESTDIR="$PKGDIR"
# font-util - X font build helpers + encodings.dir/fonts.alias generation
# https://gitlab.freedesktop.org/xorg/font/util
# Direct xlibre-server DEPEND (media-fonts/font-util).

[package]
name = "font-util"
version = "1.4.2"
release = 1
description = "X.Org font build helpers and encodings"
url = "https://xorg.freedesktop.org/releases/individual/font/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = ["util-macros"]

[[source]]
file = "font-util-1.4.2.tar.xz"
urls = ["https://xorg.freedesktop.org/releases/individual/font/font-util-1.4.2.tar.xz"]
checksum = "02e4f8afdcf03cc8372ca9c37aa104b1e36b47722dbc79531be08f0a4c622999"

[build]
parallel = true