blob: 0c8ec22ff98232d8354e1803ccb25090ff015af1 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/naim/naim-0.11.4_p1.ebuild,v 1.1 2002/10/01 23:08:38 vapier Exp $
MY_P="${P/_p1/}"
SRC_URI="http://www.acm.cs.rpi.edu/%7En/${P/_/}.tar.gz"
DESCRIPTION="An ncurses AOL Instant Messenger."
HOMEPAGE="http://site.rpi-acm.org/info/naim/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
DEPEND=">=sys-libs/ncurses-5.2
virtual/glibc"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
src_compile() {
local myconf
myconf="--with-gnu-ld --enable-detach"
use pic && myconf="${myconf} --with-pic"
use static && myconf="${myconf} --enable-static=yes"
econf ${myconf} || die "configure failed"
emake || die "make failed"
}
src_install() {
dobin src/naim
doman naim.1
dodoc AUTHORS BUGS ChangeLog FAQ NEWS README doc/*
insinto /usr/share/${P}
newins contrib/README.aimconvert README.aimconvert
newins contrib/aimconvert.tcl aimconvert.tcl
newins contrib/extractbuddy.sh extractbuddy.sh
newins contrib/sendim.sh sendim.sh
newins src/cmplhlp2.sh cmplhlp2.sh
newins src/cmplhelp.sh cmplhelp.sh
newins src/cmplsample.sh cmplsample.sh
newins src/genkeys.sh genkeys.sh
insinto /usr/include/${PN}
newins include/modutil.h modutil.h
newins include/naim.h naim.h
newins include/config.h config.h
}
|