mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-03 11:22:56 +02:00
New package: bootterm-0.5
This commit is contained in:
parent
2d1a488e9b
commit
6774bf8df6
1 changed files with 26 additions and 0 deletions
26
srcpkgs/bootterm/template
Normal file
26
srcpkgs/bootterm/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue