blob: d05713ebd6217ada7934cf24a877d1f1ddc1afbc (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author: Martin Schlemmer <azarah@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-p2p/teknap/teknap-1.3g.ebuild,v 1.1 2002/06/25 10:26:11 bangert Exp $
MY_P=TekNap-${PV}
S=${WORKDIR}/TekNap
DESCRIPTION="TekNap is a console Napster/OpenNap client"
SRC_URI="ftp://ftp.teknap.com/pub/TekNap/${MY_P}.tar.gz"
HOMEPAGE="http://www.TekNap.com/"
DEPEND="virtual/glibc >=sys-libs/ncurses-5.2
gtk? ( =x11-libs/gtk+-1.2* )
tcpd? ( sys-apps/tcp-wrappers )
xmms? ( media-sound/xmms )"
src_compile() {
local myconf
if [ "`use gtk`" ] ; then
myconf="--with-gtk"
fi
if [ "`use tcpd`" ] ; then
myconf="${myconf} --enable-wrap"
fi
if [ "`use xmms`" ] ; then
myconf="${myconf} --enable-xmms"
fi
if [ "`use ipv6`" ] ; then
myconf="${myconf} --enable-ipv6"
fi
myconf="${myconf} --enable-cdrom"
econf ${myconf} || die
make || die
}
src_install () {
make \
prefix=${D}/usr \
mandir=${D}/usr/share/man \
datadir=${D}/usr/share/TekNap \
install || die
rm ${D}/usr/bin/TekNap
dosym TekNap-1.3f /usr/bin/TekNap
dodoc COPYRIGHT README TODO Changelog
docinto txt
cd doc
dodoc *.txt TekNap.faq bugs link-guidelines macosx.notes
doman TekNap.1
}
|