|
root / base / xtrans
xtrans Plain Text 43 lines 1.2 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
#!/bin/sh
# Build script for xtrans (autotools, Template A). Header/source only, no shared lib.
set -e
cd "$SRCDIR"

export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH"
export CFLAGS="${CFLAGS} -I$PREFIX/include"
export LDFLAGS="${LDFLAGS} -L$PREFIX/lib -R$PREFIX/lib"

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

gmake -j${JOBS:-1}
gmake install DESTDIR="$PKGDIR"
# xtrans - X transport library (header/source only, no compiled shared lib)
# https://gitlab.freedesktop.org/xorg/lib/libxtrans

[package]
name = "xtrans"
version = "1.6.0"
release = 1
description = "X transport library headers used by X libs/server for network transport"
url = "https://xorg.freedesktop.org/releases/individual/lib/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

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

[[source]]
file = "xtrans-1.6.0.tar.xz"
urls = ["https://xorg.freedesktop.org/releases/individual/lib/xtrans-1.6.0.tar.xz"]
checksum = "faafea166bf2451a173d9d593352940ec6404145c5d1da5c213423ce4d359e92"

[build]
parallel = true