2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://libvterm.sourceforge.net/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Terminal emulator library"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2016-01-31 15:25:09 +01:00
|
|
|
# libvterm does not do releases, take a specific commit for now:
|
2019-09-26 00:30:49 +02:00
|
|
|
TERMUX_PKG_VERSION=19.09.17
|
|
|
|
_COMMIT=fcbccd3c79bfa811800fea24db3a77384941cb70
|
|
|
|
TERMUX_PKG_SHA256=a20ebb18f37dccc685d8518147a0db78280582138ebc76e2635830cd93572bde
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libvterm-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libvterm-dev"
|
2016-12-23 09:20:45 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/neovim/libvterm/archive/$_COMMIT.zip
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make() {
|
2015-06-13 01:03:31 +02:00
|
|
|
make src/encoding/DECdrawing.inc src/encoding/uk.inc
|
|
|
|
}
|
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_make_install() {
|
2015-06-13 01:03:31 +02:00
|
|
|
cd $TERMUX_PKG_SRCDIR/src
|
|
|
|
$CC -std=c99 -shared -fPIC $LDFLAGS -o $TERMUX_PREFIX/lib/libvterm.so *.c -I../include -I.
|
|
|
|
cp ../include/*.h $TERMUX_PREFIX/include/
|
|
|
|
}
|