blob: 92ce082819cb299f0576b55b84b1961edfa7b2c8 [file] [log] [blame]
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/srm/srm-1.2.10.ebuild,v 1.2 2010/02/08 19:42:41 ulm Exp $
EAPI="2"
DESCRIPTION="A command-line compatible rm which destroys file contents before unlinking."
HOMEPAGE="http://sourceforge.net/projects/srm/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND="!app-misc/secure-delete
!dev-lang/sr"
src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog NEWS README TODO
}
pkg_postinst() {
ewarn "Please notice that srm will not work as expected with any"
ewarn "journaled file system (e.g. reiserfs, ext3)."
ewarn "Please read /usr/share/doc/${PF}/README"
}