blob: c8d9b568a28c4605ac7301c79b7fa58f0d6c0dcb (
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
38
39
40
41
42
43
44
45
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/bcwipe/bcwipe-1.5_p3.ebuild,v 1.6 2006/04/23 06:05:15 dragonheart Exp $
inherit toolchain-funcs
DESCRIPTION="BCWipe secure file removal utility"
HOMEPAGE="http://www.jetico.com/"
SRC_URI="http://www.jetico.com/linux/BCWipe-${PV/_p/-}.tar.gz
http://www.jetico.com/linux/BCWipe.doc.tgz"
LICENSE="bestcrypt"
SLOT="0"
IUSE=""
KEYWORDS="amd64 ppc sparc x86"
DEPEND="virtual/libc"
RDEPEND=""
S=${WORKDIR}/${PN}
src_compile() {
emake CC=$(tc-getCC) DEFS="${CFLAGS}"|| die "Make failed"
}
src_test() {
echo "abc123" >> testfile
./bcwipe -f testfile || die "bcwipe test failed"
[ -f testfile ] && die "test file still exists. bcwipe should of deleted it"
}
src_install() {
dobin bcwipe || die
doman bcwipe.1
cd ../bcwipe-help
dodir /usr/share/doc/${PF}
cp -r * ${D}/usr/share/doc/${PF}
}
pkg_postinst() {
ewarn "The BestCrypt drivers are not free - Please purchace a license from "
ewarn "http://www.jetico.com/"
ewarn "full details /usr/share/doc/${PF}/wu_licen.htm"
}
|