summaryrefslogtreecommitdiff
blob: 5c18de456924e5c918d22a2c3eeb6daf14ce5542 (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
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/epic4-1.0.1-r1.ebuild,v 1.6 2002/07/11 06:30:46 drobbins Exp $


S=${WORKDIR}/${P}
DESCRIPTION="Epic4 IRC Client"
SRC_URI="ftp://epicsol.org/pub/epic/EPIC4-PRODUCTION/epic4-1.0.1.tar.gz \
	ftp://epicsol.org/pub/epic/EPIC4-BETA/epic4pre2-help.tar.gz"
HOMEPAGE="http://epicsol.org"

DEPEND="virtual/glibc >=sys-libs/ncurses-5.2"

src_unpack () {
        unpack epic4-1.0.1.tar.gz
}


src_compile() {
    try ./configure --prefix=/usr --mandir=/usr/share --libexecdir=/usr/lib/misc --host=${CHOST}
    try make
}

src_install () {
    try make prefix=${D}/usr mandir=${D}/usr/share/man libexecdir=${D}/usr/lib/misc install
    rm ${D}/usr/bin/epic
    dosym epic-EPIC4-${PV} /usr/bin/epic
    dodoc BUG_FORM COPYRIGHT README KNOWNBUGS VOTES
    docinto doc
    cd doc
    dodoc *.txt colors EPIC* IRCII_VERSIONS local_vars missing new-load
    dodoc nicknames outputhelp server_groups SILLINESS TS4
    dodir /usr/share/epic
    tar xzvf ${DISTDIR}/epic4pre2-help.tar.gz -C ${D}/usr/share/epic
}