summaryrefslogtreecommitdiff
blob: e29773226901e838da9eafc04d16231d1e1a014c (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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/xc-4.3.2.ebuild,v 1.3 2002/10/26 19:03:34 vapier Exp $

DESCRIPTION="unix dialout program"
HOMEPAGE="http://www.ibiblio.org/pub/Linux/apps/serialcomm/dialout/"
SRC_URI="http://www.ibiblio.org/pub/Linux/apps/serialcomm/dialout/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"
DEPEND="sys-libs/libtermcap-compat"
RDEPEND=""
S="${WORKDIR}/${P}"

src_unpack() {
	unpack ${A}

	cd ${S}
	patch -p0 <${FILESDIR}/${PF}-gentoo.diff
}

src_compile() {
	make all prefix=/usr mandir=/usr/share/man || die

}

src_install () {
	dodir /usr/bin /usr/share/man/man1 /usr/lib/xc

	make DESTDIR=${D} install || die
	
	insinto /usr/lib/xc
	doins phonelist xc.init dotfiles/.[a-z]*
}