blob: ab2bbee2a9be760fb76987505e6fcac7a84f3856 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/aim/aim-1.5.286.ebuild,v 1.7 2006/01/18 23:53:06 spyderous Exp $
IUSE=""
DESCRIPTION="AOL's Instant Messenger client"
SRC_URI="${P}.tgz"
HOMEPAGE="http://www.aim.com/get_aim/linux/latest_linux.adp"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 x86"
RESTRICT="nostrip fetch"
DEPEND="=x11-libs/gtk+-1.2*"
RDEPEND="${DEPEND}
amd64? ( >=app-emulation/emul-linux-x86-gtklibs-2.1 )"
S="${WORKDIR}"
pkg_nofetch() {
einfo "Please go to"
einfo "http://www.aim.com/get_aim/linux/latest_linux.adp"
einfo "and place ${A} in ${DISTDIR}."
}
src_install() {
# Initial install
dodir /opt/${PN}
cd ${S}/usr
cp -pPR * ${D}/opt/${PN}/
# Set up paths for env
echo "LDPATH=/opt/${PN}/lib" > ${T}/99aim
echo "PATH=/opt/${PN}" >> ${T}/99aim
insinto /etc/env.d
doins ${T}/99aim
# Needed shell script
echo "#!/bin/bash" > ${T}/aim
echo "/opt/aim/bin/aim --install_dir /opt/aim/lib/aim" >> ${T}/aim
exeinto /opt/aim
doexe ${T}/aim
dodir /opt/bin
dosym /opt/aim/aim /opt/bin/aim
prepall
}
|