mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
fixed aur/lio-utils
This commit is contained in:
parent
b5fd14c109
commit
50e90bf8e3
1 changed files with 10 additions and 20 deletions
|
@ -1,40 +1,30 @@
|
||||||
# Contributor: Johannes Dewender arch at JonnyJD dot net
|
# Contributor: Johannes Dewender arch at JonnyJD dot net
|
||||||
|
# Contributor: Kevin Mihelich <kevin@plugapps.com>
|
||||||
|
|
||||||
plugrel=1
|
plugrel=1
|
||||||
|
|
||||||
pkgname=lio-utils
|
pkgname=lio-utils
|
||||||
pkgver=4.1
|
pkgver=4.1
|
||||||
pkgrel=3
|
pkgrel=3
|
||||||
epoch=
|
pkgdesc="A simple low-level configuration tool set for LIO 3 (Target 3 and iSCSI 3)"
|
||||||
pkgdesc="a simple low-level configuration tool set for LIO 3 (Target 3 and iSCSI 3)"
|
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="http://linux-iscsi.org/wiki/Lio-utils"
|
url="http://linux-iscsi.org/wiki/Lio-utils"
|
||||||
license=('AGPL3')
|
license=('AGPL3')
|
||||||
depends=('python2')
|
depends=('python2')
|
||||||
makedepends=()
|
makedepends=('net-snmp')
|
||||||
optdepends=(net-snmp)
|
optdepends=('net-snmp')
|
||||||
provides=()
|
source=("$pkgname-$pkgver.tgz::http://www.risingtidesystems.com/git/?p=$pkgname.git;a=snapshot;h=e6d881a98210c99468b82daa5f8926bb079e4790;sf=tgz")
|
||||||
conflicts=()
|
md5sums=('25bca4a70abe7041b3eef80f8fbdcad4')
|
||||||
replaces=()
|
|
||||||
backup=()
|
|
||||||
options=()
|
|
||||||
install=
|
|
||||||
source=()
|
|
||||||
md5sums=()
|
|
||||||
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
if [ ! -e "$pkgname-$pkgver.tgz" ]; then
|
cd "$srcdir/$pkgname"
|
||||||
wget "http://www.risingtidesystems.com/git/?p=$pkgname.git;a=snapshot;h=e6d881a98210c99468b82daa5f8926bb079e4790;sf=tgz" -O "$pkgname-$pkgver.tgz"
|
find -type f -a -name '*.py' -exec sed -i -e 's|#![ ]*/usr/bin/python$|#!/usr/bin/python2|' {} \;
|
||||||
fi
|
sed -i 's|python setup.py|python2 setup.py|' Makefile
|
||||||
bsdtar -xf "$srcdir/$pkgname-$pkgver.tgz"
|
|
||||||
cd "$srcdir/$pkgname/"
|
|
||||||
make SNMP_FEATURE=1
|
make SNMP_FEATURE=1
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname/"
|
cd "$srcdir/$pkgname"
|
||||||
|
|
||||||
#make DESTDIR="$pkgdir/" initd_install)
|
#make DESTDIR="$pkgdir/" initd_install)
|
||||||
install -d $pkgdir/etc/rc.d
|
install -d $pkgdir/etc/rc.d
|
||||||
|
|
Loading…
Reference in a new issue