# Template file for 'mt-st'
pkgname=mt-st
version=1.3
revision=1
wrksrc="${pkgname}-${pkgname}-${version}"
short_desc="Linux SCSI tape driver aware magnetic tape control (aka mt)"
maintainer="allan <mail@may.mooo.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/iustin/mt-st"
distfiles="https://github.com/iustin/mt-st/archive/mt-st-${version}.tar.gz"
checksum=85c3d88365233b1fd34e109f8d455d498d3d2e286558c8ca85d7435abfbf173d

do_build() {
	make CC=$CC CFLAGS="$CFLAGS $LDFLAGS"
}
do_install() {
	vbin mt
	vman mt.1
	vbin stinit
	vman stinit.8
	vdoc stinit.def.examples
}
