New package: atinout-0.9.1

[Piraty: fix the Makefile with vsed instead of overwriting CFLAGS]
This commit is contained in:
John Sullivan 2020-09-25 00:44:17 -07:00 committed by Piraty
parent bffda1db72
commit ec248fbe33
No known key found for this signature in database
GPG key ID: 82F2CC796BD07077

19
srcpkgs/atinout/template Normal file
View file

@ -0,0 +1,19 @@
# Template file for 'atinout'
pkgname=atinout
version=0.9.1
revision=1
build_style=gnu-makefile
make_use_env=yes
short_desc="Send AT commands to modem and print responses"
maintainer="John Sullivan <jsullivan@csumb.edu>"
license="GPL-3.0-or-later"
homepage="http://atinout.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/v${version}/${pkgname}-${version}.tar.gz"
checksum=4d15c8288aca414e11cd304686b172696104c5e42bf776300311c005634854a2
post_patch() {
vsed -i Makefile \
-e '/^CC.*=.*gcc/d' \
-e 's/^CFLAGS.*=/CFLAGS +=/' \
-e 's/-Werror//'
}