void-packages/srcpkgs/ttyrec/template

21 lines
487 B
Bash

# Template file for 'ttyrec'
pkgname=ttyrec
version=1.0.8
revision=3
homepage="http://0xcc.net/ttyrec"
distfiles="http://0xcc.net/ttyrec/${pkgname}-${version}.tar.gz"
short_desc="tty recorder and player"
maintainer="Enno Boland <eb@s01.de>"
license="BSD"
checksum=ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec
do_build() {
make ${makejobs} CC=$CC CFLAGS="-DHAVE_openpty -lutil $CFLAGS"
}
do_install() {
for f in rec play; do
vbin tty${f}
vman tty${f}.1
done
}