/[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.7 - (show annotations) (download)
Sun Aug 10 18:10:02 2014 UTC (2 months, 1 week ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2014 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.6 2012/03/09 15:06:19 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