blob: 68b70d65e689d7f4c9f431b904f066241c7f9510 (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/globespan-adsl/globespan-adsl-0.8-r1.ebuild,v 1.2 2004/01/12 18:31:39 nerdboy Exp $
IUSE="tcltk"
MY_PN="eciadsl-usermode-0.8"
S=${WORKDIR}/${MY_PN}
DESCRIPTION="Driver for various ADSL modems based on GlobeSpan chips"
SRC_URI="http://eciadsl.flashtux.org/download/${MY_PN}.tar.bz2"
HOMEPAGE="http://eciadsl.flashtux.org"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND=">=ppp-2.4.1"
RDEPEND="${DEPEND}
tcltk? ( >=dev-lang/tk-8.3.4 )"
src_compile() {
# no econf because --host is not supported
./configure --prefix=/usr || die "./configure failed"
emake || die "make failed"
}
src_install() {
make ROOT=${D} install || die "Install failed"
}
pkg_postinst() {
einfo ""
use tcltk && {
einfo "Package succesfully installed you should now run 'eciconf.sh'"
einfo "Paquetage installé avec succes vous devriez maintenant executer 'eciconf.sh'"
}
use tcltk || {
einfo "Package succesfully installed you should now run 'eciconftxt.sh'"
einfo "Paquetage installé avec succes vous devriez maintenant executer 'eciconftxt.sh'"
}
einfo ""
}
|