summaryrefslogtreecommitdiff
blob: 6954da81dc238a01e4f4afa79d6b6aabf65c9d45 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/cccp/cccp-0.8.ebuild,v 1.7 2005/03/25 23:20:24 blubb Exp $

IUSE=""

DESCRIPTION="Scriptable console frontend to Direct Connect"
HOMEPAGE="http://members.chello.se/hampasfirma/cccp"
SRC_URI="http://members01.chello.se/hampasfirma/cccp/${PN}.${PV}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

DEPEND=">=net-p2p/dctc-0.83"

S="${WORKDIR}/${PN}.${PV}"

src_compile() {

	gcc ${CFLAGS} -o cccp cccp.c

}

src_install () {

	dobin cccp
	doman cccp.1
	dodoc README TODO GETTING_STARTED scripts/SCRIPTS
	insinto /usr/share/cccp/scripts
	doins scripts/*
	chmod 755 ${D}/usr/share/cccp/scripts/[a-z]*

}