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

Contents of /kde-base/kde-i18n/kde-i18n-3.5.0_rc1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Nov 29 18:45:53 2005 UTC (14 years, 7 months ago) by greg_g
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove KDE 3.5 prereleases.
(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.5.0_rc1.ebuild,v 1.1 2005/11/13 16:41:26 flameeyes Exp $
4
5 inherit kde
6
7 DESCRIPTION="KDE internationalization package"
8 HOMEPAGE="http://www.kde.org/"
9 LICENSE="GPL-2"
10
11 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
12 IUSE=""
13 SLOT="${KDEMAJORVER}.${KDEMINORVER}"
14
15 need-kde ${PV}
16
17 LANGS="af ar az bg bn br bs ca cs cy da de el en_GB eo es et
18 eu fa fi fr fy ga gl he hi hr hu is it ja ko lt lv mk
19 mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr
20 sr@Latn ss sv ta tg tr uk uz zh_CN zh_TW"
21
22 for X in ${LANGS} ; do
23 #SRC_URI="${SRC_URI} linguas_${X}? ( mirror://kde/stable/${PV}/src/kde-i18n/kde-i18n-${X}-${PV}.tar.bz2 )"
24 SRC_URI="${SRC_URI} linguas_${X}? ( mirror://kde/unstable/${PV/.0_/-}/src/kde-i18n/kde-i18n-${X}-${PV}.tar.bz2 )"
25 done
26
27 pkg_setup() {
28 if [ -z "${A}" ]; then
29 echo
30 eerror "You must set the LINGUAS environment variable to a list of valid"
31 eerror "language codes, one for each language you would like to install."
32 eerror "e.g.: LINGUAS=\"sv de pt\""
33 eerror ""
34 eerror "The available language codes are:"
35 echo "${LANGS}"
36 echo
37 die
38 fi
39 }
40
41 src_unpack() {
42 # Override kde_src_unpack.
43 unpack ${A}
44 }
45
46 src_compile() {
47 local _S=${S}
48 for dir in `ls ${WORKDIR}`; do
49 S=${WORKDIR}/${dir}
50 kde_src_compile myconf
51 myconf="${myconf} --prefix=${KDEDIR}"
52 kde_src_compile configure
53 kde_src_compile make
54 done
55 S=${_S}
56 }
57
58 src_install() {
59 local _S=${S}
60 for dir in `ls ${WORKDIR}`; do
61 cd ${WORKDIR}/${dir}
62 make DESTDIR=${D} install || die
63 done
64 S=${_S}
65 }

  ViewVC Help
Powered by ViewVC 1.1.20