testing/nwipe: upgrade to 0.16

This commit is contained in:
Natanael Copa 2014-06-03 12:00:45 +00:00
parent d33fcc2fda
commit cd28a22ee7

View File

@ -1,7 +1,7 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=nwipe pkgname=nwipe
pkgver=0.10 pkgver=0.16
pkgrel=0 pkgrel=0
pkgdesc="Securely erase disks using a variety of recognized methods" pkgdesc="Securely erase disks using a variety of recognized methods"
url="http://nwipe.sourceforge.net" url="http://nwipe.sourceforge.net"
@ -9,14 +9,20 @@ arch="all"
license="GPL2" license="GPL2"
depends="" depends=""
depends_dev="" depends_dev=""
makedepends="parted-dev ncurses-dev" makedepends="parted-dev ncurses-dev autoconf automake"
install="" install=""
subpackages="" subpackages=""
source="http://downloads.sourceforge.net/nwipe/nwipe-$pkgver.tar.gz" source="http://downloads.sourceforge.net/nwipe/nwipe-$pkgver.tar.gz"
_builddir="$srcdir"/nwipe-$pkgver _builddir="$srcdir"/nwipe-$pkgver
prepare() {
cd "$_builddir"
aclocal && autoconf && autoheader && automake --add-missing
}
build() { build() {
cd "$_builddir" cd "$_builddir"
CFLAGS="$CFLAGS -D_GNU_SOURCE" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
@ -33,4 +39,6 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la 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"