### this file is sourced not run
PKGVER=2015.01
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=linux-scsi-target-2015.01.tar.bz2
MD5SUM=d412eed48773d535eb80e21647c5a909
SRC_URL=http://distro.ibiblio.org/fatdog/source/700/$TARBALL
BUNDLE=

SLACKREQ='python python-epydoc python-pyparsing python-ipaddr
python-netifaces python-configobj python-prettytable' # 
SLACKDESC='
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/linux-scsi*
	for p in configshell rtslib targetcli; do
		cd $p-git
		sed -i -e 's/GIT_VERSION/2015.01/' $p/__init__.py || return 1
		python setup.py install || return 1
		cd ..
	done
	pkg_build_slackdesc
}
