summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-09-14 10:56:17 +0000
committerMamoru Komachi <usata@gentoo.org>2004-09-14 10:56:17 +0000
commite954c6e39b2cfae169345e6b4457f0a97ed63224 (patch)
tree99851a4ed3e8d59ba58593fb6d38dd311356b305 /eclass/iiimf.eclass
parentVersion bump, compressed patches and QA fix (diff)
downloadhistorical-e954c6e39b2cfae169345e6b4457f0a97ed63224.tar.gz
historical-e954c6e39b2cfae169345e6b4457f0a97ed63224.tar.bz2
historical-e954c6e39b2cfae169345e6b4457f0a97ed63224.zip
Moved im-sdk tarball to gentoo mirrors.
Diffstat (limited to 'eclass/iiimf.eclass')
-rw-r--r--eclass/iiimf.eclass32
1 files changed, 10 insertions, 22 deletions
diff --git a/eclass/iiimf.eclass b/eclass/iiimf.eclass
index 34519d57c3c9..766f0a30d3f0 100644
--- a/eclass/iiimf.eclass
+++ b/eclass/iiimf.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/iiimf.eclass,v 1.7 2004/09/13 20:11:13 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/iiimf.eclass,v 1.8 2004/09/14 10:56:17 usata Exp $
#
# Author: Mamoru KOMACHI <usata@gentoo.org>
#
@@ -12,30 +12,16 @@ ECLASS=iiimf
INHERITED="$INHERITED $ECLASS"
EXPORT_FUNCTIONS src_compile src_install
-snapshot() {
- if [ "${PV:0:2}" -eq 12 ] ; then
- true
- else
- false
- fi
-}
-
IMSDK_PV="r${PV//./_}"
-if snapshot ; then
- MY_INFIX="-src-"
- MY_PV="${IMSDK_PV/_pre/-svn}"
- MY_SUFFIX="tgz"
-else
- MY_INFIX="."
- MY_PV="${IMSDK_PV/_p/.}"
- MY_SUFFIX="tar.bz2"
-fi
-IMSDK_P="im-sdk${MY_INFIX}${MY_PV}"
-IMSDK="im-sdk-${MY_PV/./-}"
+MY_PV="${IMSDK_PV/_pre/-svn}"
+MY_PV="${MY_PV/_p/-svn}"
+IMSDK_P="im-sdk-src-${MY_PV}"
+IMSDK="${IMSDK_P/-src/}}"
DESCRIPTION="Based on the $ECLASS eclass"
HOMEPAGE="http://www.openi18n.org/subgroups/im/IIIMF/"
-SRC_URI="http://www.openi18n.org/download/docs/im-sdk/${IMSDK_P}.${MY_SUFFIX}"
+SRC_URI="mirror://gentoo/${IMSDK_P}.tgz
+ http://dev.gentoo.org/~usata/distfiles/${IMSDK_P}.tgz"
LICENSE="MIT X11"
SLOT="0"
@@ -48,7 +34,9 @@ S="${WORKDIR}/${IMSDK}/${PN}"
iiimf_src_compile() {
- snapshot && ./autogen.sh
+ if [ "${PV:0:2}" -eq 12 ] ; then
+ ./autogen.sh
+ fi
econf --enable-optimize \
`use_enable debug` || die