New package: bootterm-0.5

This commit is contained in:
Vincent Legoll 2024-10-27 10:27:15 +01:00 committed by Duncan Overbruck
parent 2d1a488e9b
commit 6774bf8df6

26
srcpkgs/bootterm/template Normal file
View file

@ -0,0 +1,26 @@
# Template file for 'bootterm'
pkgname=bootterm
version=0.5
revision=1
build_style=gnu-makefile
# To overcome the linker getting handled compiler parameters (-Wl,-z,relro)
make_use_env=yes
short_desc="Simple terminal designed to ease connection to serial ports"
maintainer="Vincent Legoll <vincent.legoll@gmail.com>"
license="MIT"
homepage="https://github.com/wtarreau/bootterm"
distfiles="https://github.com/wtarreau/bootterm/archive/refs/tags/v${version}.tar.gz"
checksum=95cc154236655082fb60e8cdae15823e4624e108b8aead59498ac8f2263295ad
if [ "$CROSS_BUILD" ]; then
make_build_args="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-"
fi
# Force termios.h usage instead of asm/termbits.h (for tcgetattr, etc.)
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
make_build_args+=" CFLAGS=-DNO_TCGETS2"
fi
post_install() {
vlicense LICENSE
}