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 | a4ed111cb40b3134610a4c92a52a6cd1bd7013f5 (patch) | |
tree | df42b39cc9ca21aadf794e67cfa2cad9907191ea /net-dialup/hcfpcimodem | |
parent | add bug info (diff) | |
download | historical-a4ed111cb40b3134610a4c92a52a6cd1bd7013f5.tar.gz historical-a4ed111cb40b3134610a4c92a52a6cd1bd7013f5.tar.bz2 historical-a4ed111cb40b3134610a4c92a52a6cd1bd7013f5.zip |
version bump; add doc useflag
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-dialup/hcfpcimodem')
-rw-r--r-- | net-dialup/hcfpcimodem/ChangeLog | 7 | ||||
-rw-r--r-- | net-dialup/hcfpcimodem/Manifest | 10 | ||||
-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, 85 insertions, 5 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..f965d84813ae 100644 --- a/net-dialup/hcfpcimodem/Manifest +++ b/net-dialup/hcfpcimodem/Manifest @@ -2,14 +2,16 @@ Hash: SHA1 MD5 41411bad4bc9368c5907f12cac99c3d8 hcfpcimodem-1.05-r1.ebuild 1630 -MD5 5da43d2e5608c8b3171720da5b2f1452 ChangeLog 2759 +MD5 c772015f1c3aa2d53dcf295f20c9078e hcfpcimodem-1.06.ebuild 1779 +MD5 6c86d84b893924cf6803e9553e10c78b ChangeLog 2947 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 d456c8abc9d9cb81d489465d053395ab files/hcfpcimodem-1.05-nvminstall.patch 497 MD5 c5a95c807346bdb475dcf710e9ff1fd2 files/digest-hcfpcimodem-1.05-r1 72 +MD5 25fc41dea981da0f005db63a43768868 files/digest-hcfpcimodem-1.06 144 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD4DBQFCXtsAjiC39V7gKu0RAufMAJjKq03V7aO6Nc0LEpGgxOtVDuEyAKCda3u0 -Gz304k/OCRCnVdCfE1bF0A== -=/PuB +iD8DBQFCu5lXjiC39V7gKu0RAtDSAJ98tKfBWi7x4dd2wvNvif3g+jfi2QCgj80Q +FqPSPcgQN06gk2ixbNSSWl0= +=Ip1J -----END PGP SIGNATURE----- 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." +} + |