diff options
author | Caleb Tennis <caleb@gentoo.org> | 2003-10-14 13:48:33 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2003-10-14 13:48:33 +0000 |
commit | d2157e695f7226b5aa7efe28c5f70f097278b978 (patch) | |
tree | 7c08444e97ed6e2715b1245508348f256a495bf5 /app-i18n/koffice-i18n | |
parent | fixing Manifest (diff) | |
download | gentoo-2-d2157e695f7226b5aa7efe28c5f70f097278b978.tar.gz gentoo-2-d2157e695f7226b5aa7efe28c5f70f097278b978.tar.bz2 gentoo-2-d2157e695f7226b5aa7efe28c5f70f097278b978.zip |
revise the ebuild to be smarter
Diffstat (limited to 'app-i18n/koffice-i18n')
-rw-r--r-- | app-i18n/koffice-i18n/ChangeLog | 7 | ||||
-rw-r--r-- | app-i18n/koffice-i18n/Manifest | 6 | ||||
-rw-r--r-- | app-i18n/koffice-i18n/koffice-i18n-1.3_beta4.ebuild | 35 |
3 files changed, 18 insertions, 30 deletions
diff --git a/app-i18n/koffice-i18n/ChangeLog b/app-i18n/koffice-i18n/ChangeLog index de77ef823a34..3adec3352541 100644 --- a/app-i18n/koffice-i18n/ChangeLog +++ b/app-i18n/koffice-i18n/ChangeLog @@ -1,11 +1,14 @@ # ChangeLog for app-i18n/koffice-i18n # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/koffice-i18n/ChangeLog,v 1.6 2003/10/01 11:45:47 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/koffice-i18n/ChangeLog,v 1.7 2003/10/14 13:48:30 caleb Exp $ + + 14 Oct 2003; Caleb Tennis <caleb@gentoo.org> koffice-i18n-1.3_beta4.ebuild: + Better LINGUA handling for i18n stuff. *koffice-i18n-1.2.1-r1 (25 Sep 2003) *koffice-i18n-1.3_beta4 (25 Sep 2003) - 25 Sep 2003; root <root@gentoo.org> koffice-i18n-1.1.1.ebuild, + 25 Sep 2003; Caleb Tennis <caleb@gentoo.org> koffice-i18n-1.1.1.ebuild, koffice-i18n-1.2.1-r1.ebuild, koffice-i18n-1.2.ebuild, koffice-i18n-1.3_beta4.ebuild: New ebuild system for these i18n files, along the lines of my new handy/dandy diff --git a/app-i18n/koffice-i18n/Manifest b/app-i18n/koffice-i18n/Manifest index 4053a7f610d3..b1ff2bdf0b25 100644 --- a/app-i18n/koffice-i18n/Manifest +++ b/app-i18n/koffice-i18n/Manifest @@ -1,8 +1,8 @@ -MD5 743134e09e393ee8875c88edac9bcab8 ChangeLog 1318 +MD5 63584bf971c6649174daed1b980a1f44 koffice-i18n-1.2.1-r1.ebuild 1890 +MD5 155870c3f86b8567022e0d5d448ef2d7 koffice-i18n-1.3_beta4.ebuild 1396 MD5 bf7320e461cf17fa972fe360552cb260 koffice-i18n-1.2.1.ebuild 278 +MD5 20cde57a9eb3fedc7abe3afcd01e270d ChangeLog 1448 MD5 3567b0f5f53ad3a98e67fe21ecb23624 metadata.xml 225 -MD5 63584bf971c6649174daed1b980a1f44 koffice-i18n-1.2.1-r1.ebuild 1890 -MD5 c23e118b270f9b9a52e65c30da3a70ac koffice-i18n-1.3_beta4.ebuild 1892 MD5 b818617f7f909614b9223890d4063778 files/digest-koffice-i18n-1.2.1-r1 2825 MD5 39b01a5b53faf4540ff96531e55d22c9 files/digest-koffice-i18n-1.2.1 73 MD5 bbf5eddc8178eb18f383cf04070bf6e0 files/digest-koffice-i18n-1.3_beta4 2644 diff --git a/app-i18n/koffice-i18n/koffice-i18n-1.3_beta4.ebuild b/app-i18n/koffice-i18n/koffice-i18n-1.3_beta4.ebuild index d274bb10786c..2044c8daf274 100644 --- a/app-i18n/koffice-i18n/koffice-i18n-1.3_beta4.ebuild +++ b/app-i18n/koffice-i18n/koffice-i18n-1.3_beta4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/koffice-i18n/koffice-i18n-1.3_beta4.ebuild,v 1.1 2003/09/25 19:49:14 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/koffice-i18n/koffice-i18n-1.3_beta4.ebuild,v 1.2 2003/10/14 13:48:30 caleb Exp $ inherit kde need-kde 3 @@ -13,38 +13,23 @@ HOMEPAGE="http://www.koffice.org/" LICENSE="GPL-2" KEYWORDS="~x86" RESTRICT="nomirror" -DEPEND="~app-office/koffice-${PV}" +newdepend="$newdepend ~app-office/koffice-${PV} >=sys-apps/portage-2.0.49-r8" LANGS="af bg ca cs cy da de el en_GB eo es et fa fr he hu it ja nb nl nn pl pt pt_BR ru se sk sl sr sv tr ven xh zh_CN zh_TW" BASEDIR="mirror://kde/unstable/koffice-${MY_PV}/src/" -#Maybe this isn't the smartest way of doing things, but it works -#for the purposes of this ebuild. -USE="${USE} ${LINGUAS}" +# Define the LINGUAS environment variable to contain which langauge(s) you +# would like for this ebuild to download and install -# Important: -# -# If you start the emerge without setting the LINGUAS variable, then try to -# reemerge, portage will NOT scan your changes, because the ebuild itself -# hasn't changed. You need to "touch" this ebuild file to make portage re-evaluate -# this ebuild after your LINGUAS changes. +for pkg in $LANGS +do + SRC_URI="$SRC_URI linguas_${pkg}? ( $BASEDIR/koffice-i18n-${pkg}-${PV}.tar.bz2)" +done -if [ -z "${LINGUAS}" ]; then - ewarn "Using the LINGUAS environment variable, you can download only" - ewarn "language packages you are interested in. Currently you are" - ewarn "downloading all languages available." - - SRC_URI="$BASEDIR/koffice-i18n-${MY_PV}.tar.bz2" -else - for pkg in $LANGS - do - if [ `use ${pkg}` ] ; then - SRC_URI="$SRC_URI $BASEDIR/koffice-i18n-${pkg}-${MY_PV}.tar.bz2" - echo "using package ${pkg}" - fi - done +if [ -z $SRC_URI ]; then + SRC_URI="$BASEDIR/koffice-i18n-${PV}.tar.bz2" fi src_unpack() { |