aboutsummaryrefslogtreecommitdiffstats
path: root/main/wipe/APKBUILD
blob: 5c6fc73736e0970031db3a68e8cba45ee9c3dc5f (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
37
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wipe
pkgver=2.3.1
pkgrel=4
pkgdesc="Secure file wiping utility"
url="https://wipe.sourceforge.net/"
arch="all"
license="GPL-2.0-only"
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="https://downloads.sourceforge.net/wipe/wipe-$pkgver.tar.bz2
	stdint.patch
	"
options="!check"

prepare() {
	update_config_sub
	default_prepare
}

build() {
	CPPFLAGS= ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	install -d "$pkgdir"/usr/bin
	make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install
}

sha512sums="63870e68fa5dbf90abb686052f8dcc216ccb93b0c4f5cc10d60ccf43f3606ba91b46dc1e3d8b34d201f7ea657f70b45a61d5d04facf5b2a3e47d2286c46e7110  wipe-2.3.1.tar.bz2
05dab486c9bbe75f0abf3327aeaff9d720aa640f88fc664224cab471e21f65c6bb21115dcda72eaff31c80a3a9fe25b46b4e2283d8b93616a5161d377da44bd8  stdint.patch"