diff options
Diffstat (limited to 'app-crypt/bcwipe/bcwipe-1.9.3.ebuild')
-rw-r--r-- | app-crypt/bcwipe/bcwipe-1.9.3.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-crypt/bcwipe/bcwipe-1.9.3.ebuild b/app-crypt/bcwipe/bcwipe-1.9.3.ebuild new file mode 100644 index 000000000000..e7785a1aa24d --- /dev/null +++ b/app-crypt/bcwipe/bcwipe-1.9.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/bcwipe/bcwipe-1.9.3.ebuild,v 1.1 2009/11/07 19:11:57 arfrever Exp $ + +EAPI="2" + +inherit eutils versionator + +MY_PV="$(replace_version_separator 2 -)" + +DESCRIPTION="BCWipe secure file removal utility" +HOMEPAGE="http://www.jetico.com/" +SRC_URI="http://www.jetico.com/linux/BCWipe-${MY_PV}.tar.gz + doc? ( http://www.jetico.com/linux/BCWipe.doc.tgz )" + +LICENSE="bestcrypt" +SLOT="0" +IUSE="doc" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.9.1-fix_warnings.patch" +} + +src_test() { + echo "abc123" >> testfile + ./bcwipe -f testfile || die "bcwipe test failed" + [[ -f testfile ]] && die "test file still exists. bcwipe should have deleted it" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + if use doc ; then + dohtml -r ../bcwipe-help || die "dohtml failed" + fi +} + +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}/html/bcwipe-help/wu_licen.htm" +} |