You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.4 KiB
50 lines
1.4 KiB
# Copyright 1999-2008 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-dialup/globespan-adsl/globespan-adsl-0.11-r1.ebuild,v 1.3 2008/03/13 01:27:19 wolf31o2 Exp $
|
|
|
|
inherit eutils
|
|
|
|
MY_PN="eciadsl-usermode-${PV}"
|
|
|
|
DESCRIPTION="Driver for various ADSL modems. Also known as EciAdsl."
|
|
SRC_URI="http://eciadsl.flashtux.org/download/${MY_PN}.tar.gz"
|
|
HOMEPAGE="http://eciadsl.flashtux.org"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~x86"
|
|
IUSE="tk"
|
|
|
|
DEPEND="net-dialup/ppp"
|
|
RDEPEND="${DEPEND}
|
|
dev-lang/perl
|
|
tk? ( >=dev-lang/tk-8.3.4 )"
|
|
|
|
S="${WORKDIR}/${MY_PN}"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
epatch "${FILESDIR}"/${P}-synch.patch
|
|
epatch "${FILESDIR}"/${P}-pagesize.patch
|
|
}
|
|
|
|
src_install() {
|
|
make DESTDIR="${D}" install || die "make install failed"
|
|
dodoc README* TROUBLESHOOTING* ChangeLog || die "failed to install documentation"
|
|
}
|
|
|
|
pkg_postinst() {
|
|
elog
|
|
elog "Package succesfully installed you should now run "
|
|
elog "eciconf.sh (graphical, requires TCL/TK) or eciconftxt.sh"
|
|
elog
|
|
elog "Paquetage installé avec succés vous devriez maintenant"
|
|
elog "executer eciconf.sh (qui requiert TCL/TK) ou eciconftxt.sh"
|
|
elog
|
|
ewarn "Please note that if you're using a 2.6.x kernel you'll"
|
|
ewarn "probably need to apply a patch to fix a USB bug. See"
|
|
ewarn "http://eciadsl.flashtux.org/download/beta/"
|
|
ewarn
|
|
}
|