blob: fc3c126f26b4741895fe7bf3249a17387504e120 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-mail/ximian-connector/ximian-connector-1.2.0.ebuild,v 1.2 2002/11/21 00:46:16 nall Exp $
DESCRIPTION="Ximian Connector (An Evolution Plugin to talk to Exchange Servers)"
HOMEPAGE="http://www.ximian.com"
LICENSE="Ximian-Connector"
SLOT="0"
KEYWORDS="~ppc -sparc -sparc64 -alpha"
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
XIMIAN_REV=$(( `echo ${PR} | sed -e "s/r//"` + 1 ))
SRC_URI="${P}-${XIMIAN_REV}.ximian.${XIMIAN_REV}.${XIMIAN_ARCH}.rpm"
DEPEND="app-arch/rpm2targz
>=net-mail/evolution-1.2.0*"
RDEPEND=">=net-mail/evolution-1.2.0*"
pkg_setup() {
if [ ${ARCH} != "x86" && ${ARCH} != "ppc" ] ; then
einfo "This package is only available for x86 and ppc, sorry"
die "Not supported on your ARCH"
fi
}
src_unpack() {
if [ ! -f ${DISTDIR}/${SRC_URI} ] ; then
einfo
einfo "Please download ${SRC_URI} from Ximian's redcarpet"
einfo "after it downloads, place the rpm in ${DISTDIR}"
einfo "NOTE: Ximian connector requires the purchase of a"
einfo "key from Ximian to function properly."
einfo
die
fi
rpm2targz ${DISTDIR}/${A}
mv ${WORKDIR}/${P}-${XIMIAN_REV}.ximian.${XIMIAN_REV}.${XIMIAN_ARCH}.tar.gz ${DISTDIR}
unpack ${P}-${XIMIAN_REV}.ximian.${XIMIAN_REV}.${XIMIAN_ARCH}.tar.gz
}
src_install() {
cd ${WORKDIR}
cp -dpR * ${D}
dosym /usr/lib/libssl.so /usr/lib/libssl.so.2
dosym /usr/lib/libcrypto.so /usr/lib/libcrypto.so.2
}
|