aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scstadmin-svn
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2010-05-27 09:26:53 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2010-05-27 09:26:53 +0000
commit21405ea6a5c33114bb6ec07185e56d4c2704b989 (patch)
tree9d599a374b6e7953e50d9731c684b81bdd688295 /testing/scstadmin-svn
parente14dd28447d272027ebd9bf045eb0a6bd428f0c2 (diff)
downloadaports-21405ea6a5c33114bb6ec07185e56d4c2704b989.tar.bz2
aports-21405ea6a5c33114bb6ec07185e56d4c2704b989.tar.xz
testing/[scst]: merge scst from experimental to master
Diffstat (limited to 'testing/scstadmin-svn')
-rw-r--r--testing/scstadmin-svn/APKBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/scstadmin-svn/APKBUILD b/testing/scstadmin-svn/APKBUILD
new file mode 100644
index 0000000000..e20ad1cb9e
--- /dev/null
+++ b/testing/scstadmin-svn/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor:
+# Maintainer:
+pkgname=scstadmin-svn
+pkgver=1713
+pkgrel=0
+pkgdesc="SCST administration tool written in perl"
+url="http://scst.sourceforge.net"
+license="GPL-2"
+depends="perl"
+makedepends="perl-dev"
+install=
+subpackages="$pkgname-doc"
+source="http://alpine.nethq.org/clandmeter/src/$pkgname-$pkgver.tar.gz"
+
+_builddir="$srcdir"/scstadmin
+
+prepare() {
+ cd "$_builddir"/scst-0.9.00
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+}
+
+package() {
+ cd "$_builddir"/scst-0.9.00
+ make DESTDIR="$pkgdir" install || return 1
+ cd "$_builddir"
+ install -Dm755 scstadmin.sysfs "$pkgdir"/usr/sbin/scstadmin || return 1
+ install -Dm755 init.d/scst.gentoo "$pkgdir"/etc/init.d/scstadmin
+}
+
+md5sums="5c78c6d4d4079a8d2c2b55f3e3119105 scstadmin-svn-1713.tar.gz"