void-packages/srcpkgs/ttyrec/template

22 lines
560 B
Bash

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