diff options
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 cdf22d12d..912a31daf 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" |