#!/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 " 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