diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2004-05-30 03:08:18 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2004-05-30 03:08:18 +0000 |
commit | fab76fb14c374d22966efcd0c4b9d0982ecebbbc (patch) | |
tree | bd29e0a17117721904c34cf4159fa075d4a18d2d /mail-client/ximian-connector/ximian-connector-1.2.2_p1.ebuild | |
parent | Moving to mail-client/ximian-connector (diff) | |
download | historical-fab76fb14c374d22966efcd0c4b9d0982ecebbbc.tar.gz historical-fab76fb14c374d22966efcd0c4b9d0982ecebbbc.tar.bz2 historical-fab76fb14c374d22966efcd0c4b9d0982ecebbbc.zip |
Moved from net-mail/ximian-connector to mail-client/ximian-connector.
Diffstat (limited to 'mail-client/ximian-connector/ximian-connector-1.2.2_p1.ebuild')
-rw-r--r-- | mail-client/ximian-connector/ximian-connector-1.2.2_p1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/mail-client/ximian-connector/ximian-connector-1.2.2_p1.ebuild b/mail-client/ximian-connector/ximian-connector-1.2.2_p1.ebuild new file mode 100644 index 000000000000..db6587ed7634 --- /dev/null +++ b/mail-client/ximian-connector/ximian-connector-1.2.2_p1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/ximian-connector/ximian-connector-1.2.2_p1.ebuild,v 1.1 2004/05/30 03:08:18 seemant Exp $ + +DESCRIPTION="Ximian Connector (An Evolution Plugin to talk to Exchange Servers)" +HOMEPAGE="http://www.ximian.com" +LICENSE="Ximian-Connector" +SLOT="0" +KEYWORDS="x86 ~ppc -sparc -alpha -mips" +RESTRICT="fetch nostrip" + +XIMIAN_ARCH="blargh" +XIMIAN_DIST="frobs" + +if [ `use ppc` ]; then + XIMIAN_DIST="yellowdog-22-ppc" + XIMIAN_ARCH="ppc" +elif [ `use x86` ]; then + XIMIAN_DIST="redhat-73-i386" + XIMIAN_ARCH="i386" +fi + +# make the ximian rev from the package version +# 1.2.1_p2 should result in 1.2.1-2 +XIMIAN_REV=`echo ${PV} | sed -e "s/_p/-/"` + +SRC_URI="${PN}-${XIMIAN_REV}.ximian.1.${XIMIAN_ARCH}.rpm" +RDEPEND="=net-mail/evolution-1.2*" +DEPEND="app-arch/rpm2targz + ${RDEPEND}" + +pkg_nofetch() { + einfo "This package requires that you download the rpm from:" + einfo "http://ximian.com/products/connector/download/download.html" + einfo "and place it in ${DISTFILES}." + einfo "" + einfo "NOTE: x86 users should download the package for redhat-73-i386" + einfo " ppc users should download the package for yellowdog-22-ppc" +} + +pkg_setup() { + if [ "${ARCH}" != "x86" -a "${ARCH}" != "ppc" ] + then + einfo "This package is only available for x86 and ppc, sorry" + die "Not supported on your ARCH" + fi +} + +src_unpack() { + rpm2targz ${DISTDIR}/${A} + tar -xzf ${WORKDIR}/${PN}-${XIMIAN_REV}.ximian.1.${XIMIAN_ARCH}.tar.gz +} + +src_install() { + cd ${WORKDIR} + rm -f ${PN}-${XIMIAN_REV}.ximian.1.${XIMIAN_ARCH}.tar.gz + cp -dpR * ${D} + dosym /usr/lib/libssl.so /usr/lib/libssl.so.2 + dosym /usr/lib/libcrypto.so /usr/lib/libcrypto.so.2 +} + +post_install(){ + einfo "NOTE: Ximian connector requires the purchase of a" + einfo "key from Ximian to function properly." +} |