# Template file for 'ttyrec'
pkgname=ttyrec
version=1.0.8
revision=2
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() {
	vinstall ttyrec 755 /usr/bin
	vinstall ttyrec.1 644 /usr/share/man/man1
	vinstall ttyplay 755 /usr/bin
	vinstall ttyplay.1 644 /usr/share/man/man1
}
