void-packages/srcpkgs/picocom/template
johannes 0ade7ef4c0 picocom: update to 3.1.
Closes: #11868 [via git-merge-pr]
2018-03-06 19:51:20 -08:00

24 lines
596 B
Bash

# Template file for 'picocom'
pkgname=picocom
version=3.1
revision=1
short_desc="Minimal dumb-terminal emulation program like minicom"
maintainer="allan <mail@may.mooo.com>"
license="GPL-2"
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
}