void-packages/srcpkgs/atinout/template

20 lines
570 B
Bash
Raw Normal View History

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