mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-12 11:21:50 +01:00
37 lines
853 B
Plaintext
37 lines
853 B
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=nwipe
|
|
pkgver=0.10
|
|
pkgrel=0
|
|
pkgdesc="Securely erase disks using a variety of recognized methods"
|
|
url="http://nwipe.sourceforge.net"
|
|
arch="all"
|
|
license="GPL2"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="parted-dev ncurses-dev"
|
|
install=""
|
|
subpackages=""
|
|
source="http://downloads.sourceforge.net/nwipe/nwipe-$pkgver.tar.gz"
|
|
_builddir="$srcdir"/nwipe-$pkgver
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--infodir=/usr/share/info \
|
|
--localstatedir=/var \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
rm -f "$pkgdir"/usr/lib/*.la
|
|
}
|
|
|
|
md5sums="2a78e0c5f241bcd5fd8585490aa1ac8d nwipe-0.10.tar.gz"
|