diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2012-01-26 16:24:27 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2012-01-26 16:24:27 +0000 |
commit | 06c07ee2227a0cc1a9743dcfe6f044c27fcb32ee (patch) | |
tree | 153129c2267948d27d94bf111d6096c5723af86b /main/scstadmin/APKBUILD | |
parent | 6160b20b4f9a1cb388556228aecb583f0da590b2 (diff) | |
download | aports-06c07ee2227a0cc1a9743dcfe6f044c27fcb32ee.tar.bz2 aports-06c07ee2227a0cc1a9743dcfe6f044c27fcb32ee.tar.xz |
main/scstadmin: update to 2.2.0
Diffstat (limited to 'main/scstadmin/APKBUILD')
-rw-r--r-- | main/scstadmin/APKBUILD | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/main/scstadmin/APKBUILD b/main/scstadmin/APKBUILD index cdf22d12dd..912a31dafd 100644 --- a/main/scstadmin/APKBUILD +++ b/main/scstadmin/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Carlo Landmeter # Maintainer: pkgname=scstadmin -pkgver=2.1.0 +pkgver=2.2.0 pkgrel=0 pkgdesc="SCST administration tool written in perl" url="http://scst.sourceforge.net" @@ -11,28 +11,27 @@ depends="perl" makedepends="perl-dev" install= subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/scst/$pkgname-$pkgver.tar.gz - scst-init-ash-comapt.patch +source="http://downloads.sourceforge.net/scst/$pkgname-$pkgver.tar.bz2 + scstadmin.initd " _builddir="$srcdir/$pkgname-$pkgver" prepare() { - cd "$_builddir"/scstadmin.sysfs/scst-0.9.00 + cd "$_builddir"/scstadmin.sysfs/scst-0.9.10 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 cd "$_builddir" - patch -p1 < "$srcdir"/scst-init-ash-comapt.patch } package() { - cd "$_builddir"/scstadmin.sysfs/scst-0.9.00 + cd "$_builddir"/scstadmin.sysfs/scst-0.9.10 make DESTDIR="$pkgdir" install || return 1 cd "$_builddir" mkdir -p "$pkgdir"/var/lib/scst/pr install -Dm755 scstadmin.sysfs/scstadmin "$pkgdir"/usr/sbin/scstadmin || return 1 - install -Dm755 init.d/scst.gentoo "$pkgdir"/etc/init.d/scstadmin || return 1 + install -Dm755 "$srcdir"/scstadmin.initd "$pkgdir"/etc/init.d/scstadmin || return 1 } -md5sums="df5a914c80dfe167163a4da6f6044d86 scstadmin-2.1.0.tar.gz -061580b8ec84b5f7da0b1332601f505a scst-init-ash-comapt.patch" +md5sums="ab990f8eaf74c20f89e1c7b154c61d25 scstadmin-2.2.0.tar.bz2 +0c5eb336ec325533145ea739a7dea82f scstadmin.initd" |