diff options
Diffstat (limited to 'net-dialup/hcfpcimodem/hcfpcimodem-1.03.ebuild')
-rw-r--r-- | net-dialup/hcfpcimodem/hcfpcimodem-1.03.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.03.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.03.ebuild deleted file mode 100644 index f32ae479b548..000000000000 --- a/net-dialup/hcfpcimodem/hcfpcimodem-1.03.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.03.ebuild,v 1.2 2005/02/06 18:52:54 mrness Exp $ - -DESCRIPTION="Linuxant's modem driver for Connexant HCF chipset" -HOMEPAGE="http://www.linuxant.com/drivers/hcf/index.php" -SRC_URI="http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${P}full.tar.gz" - -LICENSE="Conexant" -SLOT="0" -KEYWORDS="-* x86" -IUSE="" -DEPEND="virtual/libc" - -S=${WORKDIR}/${P}full - -src_compile() { - emake all || die -} - -src_install () { - make PREFIX=${D}/usr/ ROOT=${D} install || die -} - -pkg_postinst() { - einfo "To complete the installation and configuration of your HCF modem," - einfo "please run hcfpciconfig." -} - -pkg_setup () { - MOD_N="hcfpci" - # Check to see if module is inserted into kernel, otherwise, build fails - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ] - then - eerror - eerror "Module is in use by the kernel!!!" - eerror "Attempting to unload..." - eerror - - # Unloading module... - ${MOD_N}stop - if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ] - then - eerror "Failed to unload modules from kernel!!!" - eerror "Please manualy remove the module from the kernel and emerge again." - eerror - die - fi - einfo "Successfuly removed module from memory. Resuming emerge." - einfo - fi -} |