summaryrefslogtreecommitdiffstats
path: root/testing/iscsi-scst
diff options
context:
space:
mode:
Diffstat (limited to 'testing/iscsi-scst')
-rw-r--r--testing/iscsi-scst/APKBUILD17
1 files changed, 8 insertions, 9 deletions
diff --git a/testing/iscsi-scst/APKBUILD b/testing/iscsi-scst/APKBUILD
index 0d562dc66..8a2fd4664 100644
--- a/testing/iscsi-scst/APKBUILD
+++ b/testing/iscsi-scst/APKBUILD
@@ -3,7 +3,7 @@
pkgname=iscsi-scst
pkgver=2.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="ISCSI target for SCST - userspace tools"
url="http://iscsi-scst.sourceforge.net/"
arch="x86_64"
@@ -12,15 +12,14 @@ depends=
install=
makedepends="openssl-dev bash"
subpackages=
-_svn="3161"
-source="http://alpine.nethq.org/distfiles/$pkgname-$pkgver-svn-$_svn.tar.gz
- http://alpine.nethq.org/distfiles/scst-$pkgver-svn-$_svn.tar.gz
+source="http://downloads.sourceforge.net/scst/$pkgname-$pkgver.tar.gz
+ http://downloads.sourceforge.net/scst/scst-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
scst.conf
"
-_builddir="$srcdir"/$pkgname
+_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
cp Makefile_user_space_only Makefile
@@ -28,7 +27,7 @@ prepare() {
build() {
cd "$_builddir"
- make all SCST_INC_DIR="$srcdir"/scst/include || return 1
+ make all SCST_INC_DIR="$srcdir/scst-$pkgver/include" || return 1
}
package() {
@@ -41,8 +40,8 @@ package() {
install -D -m 644 "$srcdir"/scst.conf "$pkgdir"/etc/scst.conf
}
-md5sums="0980e7f0cc57d3a09cc57ba4b127ef12 iscsi-scst-2.0.0-svn-3161.tar.gz
-73c1ec37231918e5183e78f1ec8f2302 scst-2.0.0-svn-3161.tar.gz
-ce6abcb6365f4b8609c3e963d5243b22 iscsi-scst.initd
+md5sums="04e623184f9061bea06b9ba10631a620 iscsi-scst-2.0.0.tar.gz
+e7262a26d38d8311d0296b36718d593b scst-2.0.0.tar.gz
+6440aac6ffdf18c90ae9824f04f8c638 iscsi-scst.initd
6d8b6e27d47748f7805fdb318b62bb3b iscsi-scst.confd
e8eda9872b3da3a55605c7fa17cb6c68 scst.conf"