summaryrefslogtreecommitdiff
blob: 024fc528faca7c843ee5402c36789f5d53c08f80 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/vbox3/vbox3-0.1.9.ebuild,v 1.1.1.1 2005/11/30 09:46:11 chriswhite Exp $

inherit eutils libtool

DESCRIPTION="ISDN voice response system"
SRC_URI="http://smarden.org/pape/${PN}/${PN}_${PV}.tar.gz"
HOMEPAGE="http://smarden.org/pape/${PN}/"

KEYWORDS="x86 ~amd64"
LICENSE="GPL-2"
IUSE=""
SLOT="0"

DEPEND="virtual/libc
	sys-libs/ncurses
	dev-lang/tcl"
RDEPEND="${DEPEND}
	net-dialup/isdn4k-utils"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/makefile-${PV}.patch || die "failed to patch makefile"
	elibtoolize
}

src_install() {
	keepdir /var/log/vbox
	einstall || die "make install failed"
	dosym vboxgetty /usr/sbin/vboxputty

	dodoc AUTHORS CHANGES README doc/INSTALL
	dohtml doc/*.html
	doman debian/*.8

	# install logrotate configs
	insinto /etc/logrotate.d
	newins ${FILESDIR}/vbox3.logrotate vbox3
}