|
root / base / xbitmaps
xbitmaps Plain Text 50 lines 1.5 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
45
46
47
48
49
#!/bin/sh
# Build script for xbitmaps (autotools, Template A). Data-only (X11/bitmaps/*
# bitmap files) - no compiled code, just install(1) via the generated
# Makefile. Ships a pre-generated ./configure, so no xorg-macros/autoreconf
# needed. Pulled in as a motif build dependency: lib/Xm/I18List.c does
# `#include <X11/bitmaps/gray>` (a real X.Org bitmap, unrelated to motif's
# own in-tree bitmaps/ subdir).
set -e
cd "$SRCDIR"

# MANDATORY libtool/config.sub fix - see Template A.
if [ -f configure ]; then
    sed -i -E 's/(kopensolaris\*-gnu)([^)]*\))/\1 | hammerhead*\2/' configure
fi

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH"

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

gmake -j${JOBS:-1}
gmake install DESTDIR="$PKGDIR"
# xbitmaps - X.Org bitmaps (legacy X11 bitmap data), needed by motif's lib/Xm
# https://gitlab.freedesktop.org/xorg/data/bitmaps

[package]
name = "xbitmaps"
version = "1.1.2"
release = 1
description = "X.Org bitmaps (X11/bitmaps/* data files)"
url = "https://xorg.freedesktop.org/releases/individual/data/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = []

[[source]]
file = "xbitmaps-1.1.2.tar.gz"
urls = ["https://xorg.freedesktop.org/releases/individual/data/xbitmaps-1.1.2.tar.gz"]
checksum = "27e700e8ee02c43f7206f4eca8f1953ad15236cac95d7a0f08505c3f7d99c265"

[build]
parallel = true