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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Jan 17 13:25:57 2005 UTC (15 years, 5 months ago) by danarmak
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
removing kde 3.1.x
(Portage version: 2.0.51-r13)

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.1.5.ebuild,v 1.6 2005/01/02 17:24:53 carlo Exp $
4
5 inherit kde
6
7 DESCRIPTION="KDE ${PV} - i18n: ${PN}"
8 HOMEPAGE="http://www.kde.org/"
9 LICENSE="GPL-2"
10 KEYWORDS="x86 ppc amd64"
11 SLOT="$KDEMAJORVER.$KDEMINORVER"
12 RESTRICT="nomirror"
13
14 DEPEND="~kde-base/kdebase-${PV}
15 >=sys-apps/portage-2.0.49-r8"
16
17 LANGS="af ar bg bs ca cs da de el es en_GB eo es et eu fa fi fr he hr hu is it
18 ja lt mk mt nb nl nn nso pl pt pt_BR ro ru se sk sl sr ss sv ta th tr uk ven vi xh
19 zh_CN zh_TW zu"
20
21 #
22 # Define the LINGUAS environment variable to contain which language(s) you would
23 # like for this ebuild to download and install.
24 #
25
26 BASEDIR="mirror://kde/stable/${PV}/src/kde-i18n"
27
28 for pkg in $LANGS
29 do
30 SRC_URI="$SRC_URI linguas_${pkg}? ( $BASEDIR/kde-i18n-${pkg}-${PV}.tar.bz2 )"
31 done
32
33
34 src_unpack() {
35
36 if [ -z ${LINGUAS} ]; then
37 ewarn
38 ewarn "You must define a LINGUAS environment variable that contains a list"
39 ewarn "of the country codes for which languages you would like to install."
40 ewarn
41 die
42 fi
43
44 base_src_unpack unpack
45 }
46
47 src_compile() {
48 local _S=${S}
49 for dir in `ls ${WORKDIR}`; do
50 S=${WORKDIR}/$dir
51 kde_src_compile myconf
52 myconf="$myconf --prefix=$KDEDIR -C"
53 kde_src_compile configure
54 kde_src_compile make
55 done
56 S=${_S}
57 }
58
59 src_install() {
60 local _S=${S}
61 for dir in `ls ${WORKDIR}`; do
62 cd ${WORKDIR}/$dir
63 make install DESTDIR=${D} destdir=${D}
64 done
65 S=${_S}
66 }
67

  ViewVC Help
Powered by ViewVC 1.1.20