diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-06-24 05:25:26 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-06-24 05:25:26 +0000 |
commit | 4ae23468ffcc64ee3130e2c64430b6ea48465f55 (patch) | |
tree | 54cf80f92a5cd067311eeaace99ae440b0254385 /net-dialup | |
parent | add bug info (diff) | |
download | gentoo-2-4ae23468ffcc64ee3130e2c64430b6ea48465f55.tar.gz gentoo-2-4ae23468ffcc64ee3130e2c64430b6ea48465f55.tar.bz2 gentoo-2-4ae23468ffcc64ee3130e2c64430b6ea48465f55.zip |
version bump; add doc useflag
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/hcfpcimodem/ChangeLog | 7 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/Manifest | 12 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.06 | 2 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/hcfpcimodem-1.06.ebuild | 71 |
4 files changed, 81 insertions, 11 deletions
diff --git a/net-dialup/hcfpcimodem/ChangeLog b/net-dialup/hcfpcimodem/ChangeLog index 4d351cdfe2f0..defa47da5cb6 100644 --- a/net-dialup/hcfpcimodem/ChangeLog +++ b/net-dialup/hcfpcimodem/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dialup/hcfpcimodem # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.16 2005/04/14 21:04:54 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.17 2005/06/24 05:25:26 mrness Exp $ + +*hcfpcimodem-1.06 (24 Jun 2005) + + 24 Jun 2005; Alin Nastac <mrness@gentoo.org> +hcfpcimodem-1.06.ebuild: + Version bump. Optionally install modem documentation, selected by doc useflag. 14 Apr 2005; Alin Nastac <mrness@gentoo.org> -hcfpcimodem-1.03.ebuild, hcfpcimodem-1.05-r1.ebuild: diff --git a/net-dialup/hcfpcimodem/Manifest b/net-dialup/hcfpcimodem/Manifest index cc9a8b6bb7e8..a20552aa6261 100644 --- a/net-dialup/hcfpcimodem/Manifest +++ b/net-dialup/hcfpcimodem/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 41411bad4bc9368c5907f12cac99c3d8 hcfpcimodem-1.05-r1.ebuild 1630 +MD5 4a17b6399cbd5ac02824017ee329208d hcfpcimodem-1.06.ebuild 1780 MD5 5da43d2e5608c8b3171720da5b2f1452 ChangeLog 2759 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 d456c8abc9d9cb81d489465d053395ab files/hcfpcimodem-1.05-nvminstall.patch 497 MD5 c5a95c807346bdb475dcf710e9ff1fd2 files/digest-hcfpcimodem-1.05-r1 72 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD4DBQFCXtsAjiC39V7gKu0RAufMAJjKq03V7aO6Nc0LEpGgxOtVDuEyAKCda3u0 -Gz304k/OCRCnVdCfE1bF0A== -=/PuB ------END PGP SIGNATURE----- +MD5 25fc41dea981da0f005db63a43768868 files/digest-hcfpcimodem-1.06 144 diff --git a/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.06 b/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.06 new file mode 100644 index 000000000000..c8934c19a751 --- /dev/null +++ b/net-dialup/hcfpcimodem/files/digest-hcfpcimodem-1.06 @@ -0,0 +1,2 @@ +MD5 e8e9be8e324937a30856d38566d812da hcfpcimodem-1.06full.tar.gz 663962 +MD5 e6d8fea8f5f641d7bb4dfb33c6f478e7 100498D_RM_HxF_Released.pdf 718949 diff --git a/net-dialup/hcfpcimodem/hcfpcimodem-1.06.ebuild b/net-dialup/hcfpcimodem/hcfpcimodem-1.06.ebuild new file mode 100644 index 000000000000..9097b5012949 --- /dev/null +++ b/net-dialup/hcfpcimodem/hcfpcimodem-1.06.ebuild @@ -0,0 +1,71 @@ +# 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.1 2005/06/24 05:25:26 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_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." +} + |