summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/srm/srm-1.2.8-r1.ebuild')
-rw-r--r--app-misc/srm/srm-1.2.8-r1.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/app-misc/srm/srm-1.2.8-r1.ebuild b/app-misc/srm/srm-1.2.8-r1.ebuild
index 665e2166d43d..d24cc3b1b8e9 100644
--- a/app-misc/srm/srm-1.2.8-r1.ebuild
+++ b/app-misc/srm/srm-1.2.8-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/srm/srm-1.2.8-r1.ebuild,v 1.2 2008/01/05 13:51:00 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/srm/srm-1.2.8-r1.ebuild,v 1.3 2008/01/05 14:02:00 drac Exp $
inherit eutils
@@ -10,14 +10,10 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="X11"
SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="amd64 ~ppc x86"
IUSE=""
-DEPEND="virtual/libc
- sys-apps/gawk
- sys-apps/grep"
-RDEPEND="virtual/libc
- !app-misc/secure-delete"
+DEPEND="!app-misc/secure-delete"
src_unpack() {
unpack ${A}
@@ -26,12 +22,14 @@ src_unpack() {
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed."
dodoc README Changes
}
pkg_postinst() {
+ local docsuffix=$(ecompress --suffix)
+
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.gz"
+ ewarn "Please read /usr/share/doc/${PF}/README${docsuffix}"
}