aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nwipe/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-06-03 12:00:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-06-03 12:00:45 +0000
commitcd28a22ee76b2178cc89863df17a68f6abf81c72 (patch)
tree304bd7bbad0c81d9982711111a37a9c99a0394c7 /testing/nwipe/APKBUILD
parentd33fcc2fda629fc287a961ed5e5d6bbef3938bbd (diff)
downloadaports-cd28a22ee76b2178cc89863df17a68f6abf81c72.tar.bz2
aports-cd28a22ee76b2178cc89863df17a68f6abf81c72.tar.xz
testing/nwipe: upgrade to 0.16
Diffstat (limited to 'testing/nwipe/APKBUILD')
-rw-r--r--testing/nwipe/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/testing/nwipe/APKBUILD b/testing/nwipe/APKBUILD
index 699bccb3ec..8dcdee8828 100644
--- a/testing/nwipe/APKBUILD
+++ b/testing/nwipe/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=nwipe
-pkgver=0.10
+pkgver=0.16
pkgrel=0
pkgdesc="Securely erase disks using a variety of recognized methods"
url="http://nwipe.sourceforge.net"
@@ -9,14 +9,20 @@ arch="all"
license="GPL2"
depends=""
depends_dev=""
-makedepends="parted-dev ncurses-dev"
+makedepends="parted-dev ncurses-dev autoconf automake"
install=""
subpackages=""
source="http://downloads.sourceforge.net/nwipe/nwipe-$pkgver.tar.gz"
_builddir="$srcdir"/nwipe-$pkgver
+prepare() {
+ cd "$_builddir"
+ aclocal && autoconf && autoheader && automake --add-missing
+}
+
build() {
cd "$_builddir"
+ CFLAGS="$CFLAGS -D_GNU_SOURCE" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -33,4 +39,6 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
-md5sums="2a78e0c5f241bcd5fd8585490aa1ac8d nwipe-0.10.tar.gz"
+md5sums="98487303370494b65df47e98649a054a nwipe-0.16.tar.gz"
+sha256sums="509aebba371272764cacb446efce3f87b6a47bbc6e6717a1830b5bed4e0fb4bc nwipe-0.16.tar.gz"
+sha512sums="65985b9b963e2815c5aecdf1d728c802e4b4e97cd496a8e725e8a4c9040dd20ef7f727bfcd0fc012a1f5484f79322831c932e5e4c025c7a1704a687fd956d42a nwipe-0.16.tar.gz"