void-packages/srcpkgs/atinout/template
John Sullivan ec248fbe33
New package: atinout-0.9.1
[Piraty: fix the Makefile with vsed instead of overwriting CFLAGS]
2021-02-25 21:53:23 +01:00

19 lines
570 B
Bash

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