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

# source: james
TARBALL=empty-0.6.20b.tgz
MD5SUM=d576754795ab4eb1c528ca2a98b5d545
SRC_URL=http://downloads.sourceforge.net/empty/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC="empty: empty $PKGVER (interactive scripter)
empty: 
empty: empty is an utility that provides an interface to execute and/or 
empty: interact with processes under pseudo-terminal sessions (PTYs). This 
empty: tool is definitely useful in programming of shell scripts designed to 
empty: communicate with interactive programs like telnet, ssh, ftp, etc. In 
empty: some cases empty can be the simplest replacement for TCL/expect or 
empty: other similar programming tools.
empty: 
empty: http://empty.sourceforge.net/
empty: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/empty*
	
	# array-out-of-bounds bug
	sed -i -e 's|fname\[sizeof(buf)|fname[sizeof(fname)|' empty.c &&
	
	make all install PREFIX=/usr &&
	pkg_build_slackdesc
}


