You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.1 KiB
42 lines
1.1 KiB
12 years ago
|
# Copyright 1999-2012 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
12 years ago
|
# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.4-r1.ebuild,v 1.1 2012/12/04 22:36:49 hwoarang Exp $
|
||
12 years ago
|
|
||
|
EAPI=4
|
||
|
|
||
|
inherit eutils prefix
|
||
|
|
||
|
DESCRIPTION="Script to recover diskspace wasted for unneeded locale files and localized man pages."
|
||
|
HOMEPAGE="http://gentoo.org
|
||
|
http://git.overlays.gentoo.org/gitweb/?p=proj/localepurge.git;a=summary"
|
||
|
SRC_URI="http://dev.gentoo.org/~hwoarang/distfiles/${P}.tbz2"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
|
||
|
IUSE=""
|
||
|
|
||
|
DEPEND=""
|
||
|
RDEPEND="app-shells/bash"
|
||
|
|
||
|
S=${WORKDIR}/${PN}
|
||
|
|
||
|
src_prepare() {
|
||
|
epatch "${FILESDIR}"/${P}-prefix.patch
|
||
12 years ago
|
# 164544
|
||
|
epatch "${FILESDIR}"/${P}-directorysum.patch
|
||
|
# 445910
|
||
|
epatch "${FILESDIR}"/${P}-parentdir.patch
|
||
12 years ago
|
eprefixify ${PN}
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
insinto /var/cache/${PN}
|
||
|
doins defaultlist
|
||
|
dosym defaultlist /var/cache/${PN}/localelist
|
||
|
insinto /etc
|
||
|
doins locale.nopurge
|
||
|
dobin ${PN}
|
||
|
doman ${PN}.8
|
||
|
}
|