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

# source: james
TARBALL=nc6_1.0.orig.tar.gz
MD5SUM=97fb6d871d804eabbc0ec6552d46b6b0
SRC_URL=http://distro.ibiblio.org/fatdog/source/900/$TARBALL
#SRC_URL=http://ftp.de.debian.org/debian/pool/main/n/nc6/$TARBALL # dead
BUNDLE=

SLACKREQ='' 
SLACKDESC="nc6: nc6 $PKGVER (Netcat IPv6 clone)  
nc6:  
nc6: Netcat6 is a clone of the original netcat utility that supports IPv6.  
nc6: This one was built with debian patches.
nc6: 
nc6: http://deepspace6.net/projects/netcat6.html
nc6: https://github.com/cleishm/netcat6
nc6: 
nc6: 
nc6: 
nc6: 
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/nc6* &&
	tar -xf ../pkg/nc6_1.0-8.debian.tar.gz &&
	for p in $(cat debian/patches/series); do
		patch -Np1 -i debian/patches/$p || return 1
	done
}

### default pkg_package
### default pkg_build


