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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon May 29 13:48:54 2006 UTC (14 years, 1 month ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Drop old versions.
(Portage version: 2.1_rc3)
 (Signed Manifest commit)

1 # Copyright 1999-2006 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.2.ebuild,v 1.1 2006/03/23 14:42:18 flameeyes Exp $
4
5 inherit kde
6
7 DESCRIPTION="KDE internationalization package"
8 HOMEPAGE="http://www.kde.org/"
9 LICENSE="GPL-2"
10
11 SLOT="${KDEMAJORVER}.${KDEMINORVER}"
12 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
13 IUSE=""
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 km ko lt lv
19 mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl
20 sr 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 IUSE="${IUSE} linguas_${X}"
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