blob: 1f17c878a03d7359c0312d5145c2e62214ee65b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=nwipe
pkgver=0.05
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="f50bfac53e1591c902ed85340ee057d4 nwipe-0.05.tar.gz"
|