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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Fri Oct 7 15:09:59 2005 UTC (14 years, 9 months ago) by greg_g
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Remove KDE 3.2.3.
(Portage version: 2.0.51.22-r3)

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.2.3.ebuild,v 1.9 2005/01/02 17:24:53 carlo Exp $
4
5 inherit kde
6 MY_PV=${PV}
7
8 IUSE=""
9 DESCRIPTION="KDE ${PV} - i18n: ${PN}"
10 HOMEPAGE="http://www.kde.org/"
11 LICENSE="GPL-2"
12 KEYWORDS="x86 sparc amd64 ppc ~alpha ~ia64 hppa"
13 SLOT="$KDEMAJORVER.$KDEMINORVER"
14 RESTRICT="nomirror"
15 DEPEND="~kde-base/kdebase-${PV}
16 >=sys-apps/portage-2.0.49-r8"
17 need-kde ${PV}
18
19 SRC_URI="linguas_ar? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-ar-${PV}.tar.bz2 )
20 linguas_az? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-az-${PV}.tar.bz2 )
21 linguas_bg? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-bg-${PV}.tar.bz2 )
22 linguas_bn? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-bn-${PV}.tar.bz2 )
23 linguas_bs? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-bs-${PV}.tar.bz2 )
24 linguas_ca? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-ca-${PV}.tar.bz2 )
25 linguas_cs? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-cs-${PV}.tar.bz2 )
26 linguas_cy? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-cy-${PV}.tar.bz2 )
27 linguas_da? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-da-${PV}.tar.bz2 )
28 linguas_de? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-de-${PV}.tar.bz2 )
29 linguas_el? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-el-${PV}.tar.bz2 )
30 linguas_en_GB? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-en_GB-${PV}.tar.bz2 )
31 linguas_es? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-es-${PV}.tar.bz2 )
32 linguas_et? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-et-${PV}.tar.bz2 )
33 linguas_eu? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-eu-${PV}.tar.bz2 )
34 linguas_fa? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-fa-${PV}.tar.bz2 )
35 linguas_fi? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-fi-${PV}.tar.bz2 )
36 linguas_fr? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-fr-${PV}.tar.bz2 )
37 linguas_gl? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-gl-${PV}.tar.bz2 )
38 linguas_he? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-he-${PV}.tar.bz2 )
39 linguas_hi? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-hi-${PV}.tar.bz2 )
40 linguas_hr? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-hr-${PV}.tar.bz2 )
41 linguas_hsb? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-hsb-${PV}.tar.bz2 )
42 linguas_hu? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-hu-${PV}.tar.bz2 )
43 linguas_is? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-is-${PV}.tar.bz2 )
44 linguas_it? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-it-${PV}.tar.bz2 )
45 linguas_ja? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-ja-${PV}.tar.bz2 )
46 linguas_lt? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-lt-${PV}.tar.bz2 )
47 linguas_mn? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-mn-${PV}.tar.bz2 )
48 linguas_ms? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-ms-${PV}.tar.bz2 )
49 linguas_nb? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-nb-${PV}.tar.bz2 )
50 linguas_nds? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-nds-${PV}.tar.bz2 )
51 linguas_nl? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-nl-${PV}.tar.bz2 )
52 linguas_nn? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-nn-${PV}.tar.bz2 )
53 linguas_pl? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-pl-${PV}.tar.bz2 )
54 linguas_pt? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-pt-${PV}.tar.bz2 )
55 linguas_pt_BR? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-pt_BR-${PV}.tar.bz2 )
56 linguas_ro? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-ro-${PV}.tar.bz2 )
57 linguas_ru? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-ru-${PV}.tar.bz2 )
58 linguas_sk? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-sk-${PV}.tar.bz2 )
59 linguas_sl? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-sl-${PV}.tar.bz2 )
60 linguas_sr? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-sr-${PV}.tar.bz2 )
61 linguas_sv? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-sv-${PV}.tar.bz2 )
62 linguas_ta? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-ta-${PV}.tar.bz2 )
63 linguas_tr? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-tr-${PV}.tar.bz2 )
64 linguas_uk? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-uk-${PV}.tar.bz2 )
65 linguas_uz? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-uz-${PV}.tar.bz2 )
66 linguas_zh_CN? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-zh_CN-${PV}.tar.bz2 )
67 linguas_zh_TW? ( mirror://kde/stable/${MY_PV}/src/kde-i18n/kde-i18n-zh_TW-${PV}.tar.bz2 )"
68
69 src_unpack() {
70
71 if [ -z "${LINGUAS}" ]; then
72 ewarn
73 ewarn "You must define a LINGUAS environment variable that contains a list"
74 ewarn "of the language codes for which languages you would like to install."
75 ewarn "e.g.: LINGUAS=\"se de pt\""
76 ewarn
77 die
78 fi
79
80 base_src_unpack unpack
81 }
82
83 src_compile() {
84 local _S=${S}
85 for dir in `ls ${WORKDIR}`; do
86 S=${WORKDIR}/$dir
87 kde_src_compile myconf
88 myconf="$myconf --prefix=$KDEDIR -C"
89 kde_src_compile configure
90 kde_src_compile make
91 done
92 S=${_S}
93 }
94
95 src_install() {
96 local _S=${S}
97 for dir in `ls ${WORKDIR}`; do
98 cd ${WORKDIR}/$dir
99 make install DESTDIR=${D} destdir=${D}
100 done
101 S=${_S}
102 }
103

  ViewVC Help
Powered by ViewVC 1.1.20