/[gentoo-x86]/app-misc/srm/srm-1.2.11-r2.ebuild
Gentoo

Contents of /app-misc/srm/srm-1.2.11-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Mar 9 15:06:19 2012 UTC (2 years, 4 months ago) by ranger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
Marking srm-1.2.11-r2 ~ppc64 for bug 388957

(Portage version: 2.1.10.11/cvs/Linux ppc64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/srm/srm-1.2.11-r2.ebuild,v 1.5 2012/03/06 20:48:21 ranger Exp $
4
5 EAPI="4"
6
7 inherit autotools eutils
8
9 DESCRIPTION="A command-line compatible rm which destroys file contents before unlinking."
10 HOMEPAGE="http://sourceforge.net/projects/srm/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="amd64 ppc ~ppc64 x86"
16 IUSE="debug"
17
18 DEPEND="!app-misc/secure-delete
19 sys-kernel/linux-headers
20 "
21
22 DOCS=( AUTHORS ChangeLog NEWS README TODO )
23
24 src_prepare() {
25 epatch "${FILESDIR}/${PN}-1.2.11-cflags.patch"
26 eautoreconf
27 }
28
29 src_configure() {
30 econf $(use_enable debug)
31 }
32
33 pkg_postinst() {
34 ewarn "Please note that srm will not work as expected with any journaled file"
35 ewarn "system (e.g., reiserfs, ext3)."
36 ewarn "See: ${EROOT%/}/usr/share/doc/${PF}/README"
37 }

  ViewVC Help
Powered by ViewVC 1.1.20