2011-10-18 02:54:14 +00:00
|
|
|
# Contributor: Johannes Dewender arch at JonnyJD dot net
|
|
|
|
# Contributor: Kevin Mihelich <kevin@plugapps.com>
|
|
|
|
|
|
|
|
plugrel=1
|
|
|
|
|
|
|
|
pkgname=python2-rtslib
|
|
|
|
_pkgname=rtslib
|
|
|
|
pkgver=2.1
|
|
|
|
pkgrel=2
|
|
|
|
pkgdesc="RisingTide Systems generic SCSI target API in python"
|
|
|
|
arch=('any')
|
|
|
|
url="http://www.risingtidesystems.com/git/?p=rtslib.git;a=summary"
|
|
|
|
license=('AGPL3')
|
|
|
|
depends=('python2-ipaddr' 'python2-netifaces' 'python-configobj')
|
2011-10-18 03:18:32 +00:00
|
|
|
source=("http://archlinuxarm.org/builder/src/$_pkgname-$pkgver.tgz"
|
2011-10-18 02:54:14 +00:00
|
|
|
'gz-modules.patch')
|
|
|
|
md5sums=('144863bf1e74e60fa66794950d28edde'
|
|
|
|
'c0cf6b8ca9c2f12f701e99c011d2ba03')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir"
|
|
|
|
patch -p0 < gz-modules.patch
|
|
|
|
|
|
|
|
cd "$srcdir/$_pkgname"
|
|
|
|
python2 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$_pkgname"
|
|
|
|
python2 setup.py install --skip-build --root="$pkgdir/" --optimize=1
|
|
|
|
|
|
|
|
install -d "$pkgdir/var/target/fabric"
|
|
|
|
for file in specs/*; do
|
|
|
|
install -m 644 "$file" "$pkgdir/var/target/fabric/"
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim:set ts=2 sw=2 et:
|