/[gentoo-x86]/kde-base/kde-i18n/kde-i18n-3.4.0.ebuild
Gentoo

Contents of /kde-base/kde-i18n/kde-i18n-3.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Jul 30 18:37:39 2005 UTC (14 years, 11 months ago) by greg_g
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Remove ebuilds for KDE 3.4.0.
(Portage version: 2.0.51.22-r2)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/kde-i18n/kde-i18n-3.4.0.ebuild,v 1.8 2005/06/23 09:54:27 greg_g Exp $
4
5 inherit kde eutils
6
7 DESCRIPTION="KDE internationalization package"
8 HOMEPAGE="http://www.kde.org/"
9 LICENSE="GPL-2"
10
11 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
12 IUSE=""
13 SLOT="${KDEMAJORVER}.${KDEMINORVER}"
14
15 need-kde ${PV}
16
17 LANGS="ar bg bn br bs ca cs cy da de en_GB eo es et eu \
18 fi fr fy ga he hi hsb hu is it ja lt mk nb nds \
19 nl nn pa pl pt pt_BR ro ru se sk sl sr sr@Latn \
20 sv ta tg tr uk zh_CN"
21
22 for X in ${LANGS} ; do
23 SRC_URI="${SRC_URI} linguas_${X}? ( mirror://kde/stable/3.4/src/kde-i18n/kde-i18n-${X}-${PV}.tar.bz2 )"
24 done
25
26 pkg_setup() {
27 if [ -z "${A}" ]; then
28 echo
29 eerror "You must define a LINGUAS environment variable that contains a list"
30 eerror "of the language codes for which languages you would like to install."
31 eerror "Look at the LANGS variable inside the ebuild to see the list of"
32 eerror "available languages."
33 eerror "e.g.: LINGUAS=\"sv de pt\""
34 echo
35 die
36 fi
37 }
38
39 src_unpack() {
40 base_src_unpack unpack
41
42 if use linguas_ru; then
43 # fix kde bug 101768. Applied for 3.4.1.
44 epatch "${FILESDIR}/kde-i18n-ru-3.4.0-filedialog.patch"
45 fi
46
47 if use linguas_de; then
48 # fix kde bug 101016. Applied for 3.4.1.
49 epatch "${FILESDIR}/kde-i18n-de-3.4.0-next.patch"
50 fi
51 }
52
53 src_compile() {
54 local _S=${S}
55 for dir in `ls ${WORKDIR}`; do
56 S=${WORKDIR}/${dir}
57
58 kde_src_compile myconf
59 myconf="${myconf} --prefix=${KDEDIR}"
60 kde_src_compile configure
61 kde_src_compile make
62 done
63 S=${_S}
64 }
65
66 src_install() {
67 local _S=${S}
68 for dir in `ls ${WORKDIR}`; do
69 cd ${WORKDIR}/${dir}
70 make DESTDIR=${D} install
71 done
72 S=${_S}
73 }

  ViewVC Help
Powered by ViewVC 1.1.20