summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alberto Suarez Lopez <bass@gentoo.org>2006-07-18 07:14:04 +0000
committerJose Alberto Suarez Lopez <bass@gentoo.org>2006-07-18 07:14:04 +0000
commit76d8d1f7debc5f2db72d9550a7b845eee5f3c06e (patch)
tree9dc19fe1f0dff33d909b17009f5bf5efec4ec84f /app-admin/localepurge/localepurge-0.5.2.ebuild
parentversion bump (diff)
downloadgentoo-2-76d8d1f7debc5f2db72d9550a7b845eee5f3c06e.tar.gz
gentoo-2-76d8d1f7debc5f2db72d9550a7b845eee5f3c06e.tar.bz2
gentoo-2-76d8d1f7debc5f2db72d9550a7b845eee5f3c06e.zip
new pretend option thanks to Rick Morra. #140822.
(Portage version: 2.1-r1)
Diffstat (limited to 'app-admin/localepurge/localepurge-0.5.2.ebuild')
-rw-r--r--app-admin/localepurge/localepurge-0.5.2.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/app-admin/localepurge/localepurge-0.5.2.ebuild b/app-admin/localepurge/localepurge-0.5.2.ebuild
new file mode 100644
index 000000000000..bd99880efff4
--- /dev/null
+++ b/app-admin/localepurge/localepurge-0.5.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.2.ebuild,v 1.1 2006/07/18 07:14:03 bass Exp $
+
+DESCRIPTION="Script to recover diskspace wasted for unneeded locale files and localized man pages."
+HOMEPAGE="http://www.josealberto.org/blog/index.php?s=localepurge"
+SRC_URI="mirror://gentoo/${P}.tbz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ~ppc-macos ppc64 s390 sh sparc x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND="app-shells/bash"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e 's:#!/bin/sh:#!/bin/bash:' "${S}/localepurge"
+}
+
+src_install() {
+ insinto /var/cache/localepurge
+ doins defaultlist
+ dosym defaultlist /var/cache/localepurge/localelist
+ insinto /etc
+ doins locale.nopurge
+ dobin localepurge || die
+ doman localepurge.8
+}