blob: 438f34b718b07a64b25ae0ccf4efbf0f3f5137b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/init-es/init-es-0.2-r1.ebuild,v 1.2 2003/08/06 07:44:16 vapier Exp $
DESCRIPTION="Traductor de mensajes de inicio (init)"
HOMEPAGE="http://projects.frikis.org/"
SRC_URI="http://projects.frikis.org/gentoo/init-es/programa/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~alpha ~sparc"
RDEPEND="sys-apps/textutils
sys-apps/sed"
src_install() {
insinto /etc
doins ${WORKDIR}/init-es-0.1/trad.es
cd ${WORKDIR}/init-es-0.1/doc
dodoc README ChangeLog
exeinto /sbin
doexe ${WORKDIR}/init-es-0.1/functions.sh
}
pkg_preinst() {
if [ ! -f /sbin/functions.sh.ORIG ]
then
mv /sbin/functions.sh /sbin/functions.sh.ORIG
fi
if [ -f /sbin/functions.sh.ORIG ]
then
rm /sbin/functions.sh
fi
}
pkg_postrm() {
if [ ! -f /sbin/functions.sh ]
then
mv /sbin/functions.sh.ORIG /sbin/functions.sh
fi
}
|