# Copyright 2003 Antoine REVERSAT aka Crevetor # Distributed under the terms of the GNU General Public License v2 # Modified by Panz on 2004-12-01 # $Header: $ # P="eciadsl-usermode-nortek-0.10_alpha" DESCRIPTION="Driver for various ADSL modems (Specific for GS7470 chipset modems)" HOMEPAGE="http://eciadsl.flashtux.org" #Sources file-name is different: original (and on web) is eciadsl-usermode-0.10-nortek-alpha.tar.bz2 # #Rename files? #SRC_URI="http://eciadsl.flashtux.org/download/nortek-2021/${P}.tar.bz2" # #Gentoo Ebuild specifications suggests: eciadsl-usermode-nortek-0.10_alpha SRC_URI="http://eciadsl.flashtux.org/download/nortek-2021/eciadsl-usermode-0.10-nortek-alpha.tar.bz2" LICENSE="GPL-1" SLOT="0" KEYWORDS="x86" IUSE="tcltk" DEPEND=">=ppp-2.4.1" RDEPEND="" #S is by default set to ${WORKDIR}/${P} #Setting to .bz2 diretory contents S=${WORKDIR}/eciadsl-usermode-0.10-nortek-alpha src_compile() { echo "Compile!" ./configure || die "./configure failed" #emake || die "make failed" make || die } src_install() { #echo "Panz: src_install" make ROOT=${D} install || die "Install failed" } pkg_postinst() { echo "Package succesfully installed you should now run eciadsl-config-tk (graphical, requires TCL/TK) or eciadsl-config-text" echo "Coping Synch-files into /etc/eciadsl ..." #ls ${S}/GS7470_SynchFiles/ cp ${S}/GS7470_SynchFiles/*.bin /etc/eciadsl/ echo "Read README_GS7470.txt file for Synch settings." } pkg_postrm() { echo "Removing SynchFiles from /etc/eciadsl" rm -f /etc/eciadsl/*.bin }