aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ddrescue
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-03-03 23:46:39 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-03-04 09:50:21 +0000
commita861076ba1e47debcb8b00cfbeb33821203ee3c5 (patch)
tree733bdfb8e060d49743bf5fc17ac2020a50d25656 /testing/ddrescue
parent0f429fb53138670b69d25fbd981c2708fa32bcad (diff)
downloadaports-a861076ba1e47debcb8b00cfbeb33821203ee3c5.tar.bz2
aports-a861076ba1e47debcb8b00cfbeb33821203ee3c5.tar.xz
testing/ddrescue: upgrade to 1.16
Diffstat (limited to 'testing/ddrescue')
-rw-r--r--testing/ddrescue/APKBUILD26
1 files changed, 12 insertions, 14 deletions
diff --git a/testing/ddrescue/APKBUILD b/testing/ddrescue/APKBUILD
index bc85d650e0..f06d0389af 100644
--- a/testing/ddrescue/APKBUILD
+++ b/testing/ddrescue/APKBUILD
@@ -1,21 +1,19 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=ddrescue
-pkgver=1.12
+pkgver=1.16
pkgrel=0
pkgdesc="Data recovery tool for block devices with errors"
url="http://www.gnu.org/s/ddrescue/ddrescue.html"
arch="all"
-license="GPL"
-depends=
-depends_dev=
+license="GPL3+"
+depends=""
+depends_dev=""
makedepends="$depends_dev"
-install=
+install=""
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
-
_builddir="$srcdir"/$pkgname-$pkgver
-
prepare() {
cd "$_builddir"
return 0
@@ -26,17 +24,17 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --infodir=/usr/share/info
+ --infodir=/usr/share/info \
+ || return 1
make || return 1
+ make check || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
-
- # remove the 2 lines below (and this) if there is no init.d script
- # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
- # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+ make DESTDIR="$pkgdir" install || return 1
}
-md5sums="b3d8a9a9098b87939fba05a45848bd8d ddrescue-1.12.tar.gz"
+md5sums="57b67407e882c6418531d48a2f20d16b ddrescue-1.16.tar.gz"
+sha256sums="76b3f2e5fb0306d24f2632c3e168cccb73dc0a348e3a7089cd9230748ff23de6 ddrescue-1.16.tar.gz"
+sha512sums="c775ac34701b63ab7efd0a56cecf5c8b198874239e48383142db0ccb83c193c7101335374dc89efaa815b466258181f458a3589ea4abb230804b553fb42b345d ddrescue-1.16.tar.gz"