summaryrefslogtreecommitdiff
blob: e52ede082059ce5fd15a67f5f471d01774742fdc (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/tkusr/tkusr-0.80.ebuild,v 1.3 2003/09/05 22:13:37 msterret Exp $

DESCRIPTION="TkUsr is a small program that allows you to manage the Self-mode of USR/3COM Message (Plus), Professional Message modems."
HOMEPAGE="http://www.drolez.com/tkusr"
SRC_URI="http://www.drolez.com/tkusr/${PN}_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""

S="${WORKDIR}/${P}"

DEPEND=">=tcl-8.0
	>=tk-8.0"

RDEPEND=">=tcl-8.0
	>=tk-8.0"

src_unpack() {
	unpack "${PN}_${PV}.tar.gz"
	cd "${S}"
}

src_compile() {
	emake || die
}

src_install () {
	make DESTDIR=${D} install || die
	dodoc COPYING README
}

pkg_postinst() {
	einfo
	einfo "To use tkusr with your modem, please make a symbolic link of your modem device to /dev/modem."
	einfo "ie. ln -sf /dev/tts/0 /dev/modem"
	einfo
	einfo "Make sure you have sufficient rights to access the modem (you have to be in the tty group)."
	einfo
}