Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 68534 Details for
Bug 106103
hcfpcimodem-1.0.6.ebuild (updated ebuild with 2.6.13 patch)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new ebuild that checks for 2.6.13 kernel
hcfpcimodem-1.06.ebuild (text/plain), 1.90 KB, created by
Douglas Robertson
on 2005-09-15 13:34:38 UTC
(
hide
)
Description:
new ebuild that checks for 2.6.13 kernel
Filename:
MIME Type:
Creator:
Douglas Robertson
Created:
2005-09-15 13:34:38 UTC
Size:
1.90 KB
patch
obsolete
># 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.06.ebuild,v 1.2 2005/08/29 06:05:31 mrness Exp $ > >inherit eutils > >#The document is the same as in hsfmodem, even if it has a different URL >MY_DOC="100498D_RM_HxF_Released.pdf" > >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 > doc? ( http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${MY_DOC} )" > >LICENSE="Conexant" >SLOT="0" >KEYWORDS="-* ~x86" >IUSE="doc" > >DEPEND="virtual/libc > dev-lang/perl > app-arch/cpio" > >S=${WORKDIR}/${P}full > >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 >} > >src_unpack() { > unpack ${A} > > if [ "`echo ${KV} | grep 2.6.13`" ] ; then > cd ${S} > epatch ${FILESDIR}/${P}-simple_class.patch > fi >} > >src_compile() { > emake all || die >} > >pkg_preinst() { > local NVMDIR=/etc/${PN}/nvm > if [ -d "${NVMDIR}" ]; then > einfo "Cleaning ${NVMDIR}..." > rm -rf /etc/${NVMDIR} > eend > fi >} > >src_install () { > make PREFIX=${D}/usr/ ROOT=${D} install || die > > use doc && dodoc "${DISTDIR}/${MY_DOC}" >} > >pkg_postinst() { > einfo "To complete the installation and configuration of your HCF modem," > einfo "please run hcfpciconfig." >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 106103
:
68533
| 68534