mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
64 lines
1.7 KiB
Bash
64 lines
1.7 KiB
Bash
SUMMARY="VT220/xterm/ECMA-48 terminal emulator library"
|
|
DESCRIPTION="Abstract C99 library which implements a VT220 or xterm-like \
|
|
terminal emulator. It doesn't use any particular graphics toolkit or output \
|
|
system, instead it invokes callback function pointers that its embedding \
|
|
program should provide it to draw on its behalf. It avoids calling malloc() \
|
|
during normal running state, allowing it to be used in embedded kernel \
|
|
situations."
|
|
HOMEPAGE="http://www.leonerd.org.uk/code/libvterm/"
|
|
COPYRIGHT="2010-2017 Paul Evans"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.leonerd.org.uk/code/libvterm/libvterm-0+bzr681.tar.gz"
|
|
CHECKSUM_SHA256="abea46d1b0b831dec2af5d582319635cece63d260f8298d9ccce7c1c2e62a6e8"
|
|
SOURCE_DIR="libvterm-0+bzr681"
|
|
PATCHES="libvterm-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="?all x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libvterm$secondaryArchSuffix = $portVersion
|
|
lib:libvterm$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libvterm${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:unterm$secondaryArchSuffix
|
|
cmd:vterm_ctrl$secondaryArchSuffix
|
|
cmd:vterm_dump$secondaryArchSuffix
|
|
devel:libvterm$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
haiku$secondaryArchSuffix
|
|
libvterm$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install PREFIX=$prefix BINDIR=$binDir LIBDIR=$libDir \
|
|
INCDIR=$includeDir MANDIR=$manDir
|
|
|
|
prepareInstalledDevelLib libvterm
|
|
fixPkgconfig
|
|
packageEntries devel $developDir $binDir
|
|
}
|