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

Contents of /kde-base/kde-i18n/kde-i18n-3.2.0_beta2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jan 19 04:06:47 2004 UTC (16 years, 5 months ago) by caleb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
New version, removing older versions

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

  ViewVC Help
Powered by ViewVC 1.1.20