|
root / base / libvterm
libvterm Plain Text 42 lines 1.4 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
#!/bin/sh
# Build script for libvterm (plain Makefile, uses the system GNU libtool
# binary directly). No deps.
#
# libvterm's own Makefile only adds -D__EXTENSIONS__ -D_XPG6
# -D__XOPEN_OR_POSIX when `uname` == "SunOS"; Hammerhead's uname is
# "Hammerhead" so that branch never fires - add the same flags manually
# (same shape as base/libconfig/base/libev's Template A CFLAGS export).
set -e
cd "$SRCDIR"

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

gmake -j${JOBS:-1} PREFIX="$PREFIX"
gmake install PREFIX="$PREFIX" DESTDIR="$PKGDIR"
# libvterm - abstract terminal emulator library (neovim's embedded terminal)
# http://www.leonerd.org.uk/code/libvterm/

[package]
name = "libvterm"
version = "0.3.3"
release = 1
description = "Abstract library implementation of a terminal emulator"
url = "http://www.leonerd.org.uk/code/libvterm/"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = []
build = []

[[source]]
file = "libvterm-0.3.3.tar.gz"
urls = ["http://www.leonerd.org.uk/code/libvterm/libvterm-0.3.3.tar.gz"]
checksum = "09156f43dd2128bd347cbeebe50d9a571d32c64e0cf18d211197946aff7226e0"

[build]
parallel = true