diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-08-25 05:55:37 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-08-25 05:55:37 +0000 |
commit | 5c43ba30b9ced713af0138c6ed7a8e0af6736837 (patch) | |
tree | 597efa1fa718fe61a85487928e6a36fc9990aa68 /net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild | |
parent | version bump (diff) | |
download | gentoo-2-5c43ba30b9ced713af0138c6ed7a8e0af6736837.tar.gz gentoo-2-5c43ba30b9ced713af0138c6ed7a8e0af6736837.tar.bz2 gentoo-2-5c43ba30b9ced713af0138c6ed7a8e0af6736837.zip |
version bump
(Portage version: 2.1.2.12)
Diffstat (limited to 'net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild')
-rw-r--r-- | net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild b/net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild new file mode 100644 index 000000000000..502ec3b7878a --- /dev/null +++ b/net-dialup/globespan-adsl/globespan-adsl-0.12.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 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.12.ebuild,v 1.1 2007/08/25 05:55:37 mrness 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} + tk? ( >=dev-lang/tk-8.3.4 )" + +S="${WORKDIR}/${MY_PN}" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch "${FILESDIR}"/${P}-pagesize.patch +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + if ! use tk ; then + rm "${D}"/usr/bin/eciadsl-config-tk + fi + 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 +} |