From ec248fbe33a6ea1f113e0028df47a69c25a6ffd0 Mon Sep 17 00:00:00 2001 From: John Sullivan Date: Fri, 25 Sep 2020 00:44:17 -0700 Subject: [PATCH] New package: atinout-0.9.1 [Piraty: fix the Makefile with vsed instead of overwriting CFLAGS] --- srcpkgs/atinout/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/atinout/template diff --git a/srcpkgs/atinout/template b/srcpkgs/atinout/template new file mode 100644 index 0000000000..7d9663fc39 --- /dev/null +++ b/srcpkgs/atinout/template @@ -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 " +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//' +}