### this file is sourced not run
PKGVER=1.0.8
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=ttyrec-1.0.8.tar.gz
MD5SUM=ee74158c6c55ae16327595c70369ef83
SRC_URL=http://0xcc.net/ttyrec/$TARBALL
BUNDLE=

SLACKREQ='libncurses' # 
SLACKDESC='ttyrec: ttyrec 1.0.8 (TTY recorder)  
ttyrec:  
ttyrec: ttyrec is a tty recorder. Recorded data can be played back with the 
ttyrec: included ttyplay command. ttyrec is just a derivative of script 
ttyrec: command for recording timing information with microsecond accuracy as 
ttyrec: well. It can record emacs -nw, vi, lynx, or any programs running on 
ttyrec: tty.  
ttyrec: 
ttyrec: 
ttyrec: 
ttyrec: http://0xcc.net/ttyrec/index.html.en
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/ttyrec*
	make CFLAGS=-Os &&
	cp ttyrec ttyplay ttytime /usr/bin &&
	cp ttyrec.1 ttyplay.1 ttytime.1 /usr/share/man/man1 &&
	pkg_build_slackdesc
}
