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

# source: james
TARBALL=socat-$PKGVER.tar.bz2
MD5SUM=607a24c15bd2cb54e9328bfbbd3a1ae9
SRC_URL=http://www.dest-unreach.org/socat/download/$TARBALL
BUNDLE=

SLACKREQ='openssl libreadline' # 
SLACKDESC="socat: socat $PKGVER (Multi-purpose network relay)
socat: 
socat: socat is a relay for bidirectional data transfer between two 
socat: independent data channels. Each of these data channels may be a file, 
socat: pipe, device (serial line etc. or a pseudo terminal), a socket (UNIX, 
socat: IP4, IP6 - raw, UDP, TCP), an SSL socket, proxy CONNECT connection, a 
socat: file descriptor (stdin etc.), the GNU line editor (readline), a 
socat: program, or a combination of two of these.
socat: 
socat: http://www.dest-unreach.org/socat/
socat: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	pkg_build_autoconf &&
	mkdir -p /usr/share/doc/socat-$PKGVER &&
	install -m644 doc/* /usr/share/doc/socat-$PKGVER &&
	pkg_build_slackdesc
}
