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//' +}