25 lines
607 B
Bash
25 lines
607 B
Bash
# Template file for 'picocom'
|
|
pkgname=picocom
|
|
version=3.1
|
|
revision=2
|
|
short_desc="Minimal dumb-terminal emulation program like minicom"
|
|
maintainer="allan <mail@may.mooo.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/npat-efault/picocom"
|
|
distfiles="https://github.com/npat-efault/picocom/archive/${version}.tar.gz"
|
|
checksum=e6761ca932ffc6d09bd6b11ff018bdaf70b287ce518b3282d29e0270e88420bb
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl)
|
|
CFLAGS+=" -DNO_CUSTOM_BAUD"
|
|
;;
|
|
esac
|
|
|
|
do_build() {
|
|
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
|
}
|
|
do_install() {
|
|
vman picocom.1
|
|
vbin picocom
|
|
}
|