picocom: update to 2.0
This commit is contained in:
parent
479445b042
commit
313951d823
1 changed files with 12 additions and 3 deletions
|
@ -1,18 +1,27 @@
|
||||||
# Template file for 'picocom'
|
# Template file for 'picocom'
|
||||||
pkgname=picocom
|
pkgname=picocom
|
||||||
version=1.8
|
version=2.0
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="Minimal dumb-terminal emulation program like minicom"
|
short_desc="Minimal dumb-terminal emulation program like minicom"
|
||||||
maintainer="allan <mail@may.mooo.com>"
|
maintainer="allan <mail@may.mooo.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://github.com/npat-efault/picocom"
|
homepage="https://github.com/npat-efault/picocom"
|
||||||
distfiles="https://github.com/npat-efault/picocom/archive/${version}.tar.gz"
|
distfiles="https://github.com/npat-efault/picocom/archive/${version}.tar.gz"
|
||||||
checksum=6a3e6ba74eec3dd111d5c6f8245b8f08ee54db783e5d319a8589e8f7a4a108f0
|
checksum=e0f7095c118f43c1c09787a16ef5c7d4c4ad4457dd3b1281efcc4cdb8906af9a
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) ed term.c <<-EDIT
|
||||||
|
,s:termios.h:asm/termbits.h:
|
||||||
|
w
|
||||||
|
q
|
||||||
|
EDIT
|
||||||
|
esac
|
||||||
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
vman picocom.8
|
vman picocom.1
|
||||||
vbin picocom
|
vbin picocom
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue