Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dialup/hcfpcimodem: ChangeLog hcfpcimodem-1.14.ebuild
Date: Mon, 05 Nov 2007 22:53:41
Message-Id: E1IpAp6-0007hX-0J@stork.gentoo.org
1 mrness 07/11/05 22:53:36
2
3 Modified: ChangeLog
4 Added: hcfpcimodem-1.14.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.16)
8
9 Revision Changes Path
10 1.33 net-dialup/hcfpcimodem/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog?rev=1.33&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog?rev=1.33&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog?r1=1.32&r2=1.33
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v
19 retrieving revision 1.32
20 retrieving revision 1.33
21 diff -u -r1.32 -r1.33
22 --- ChangeLog 28 Aug 2007 18:53:06 -0000 1.32
23 +++ ChangeLog 5 Nov 2007 22:53:35 -0000 1.33
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-dialup/hcfpcimodem
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.32 2007/08/28 18:53:06 mrness Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/ChangeLog,v 1.33 2007/11/05 22:53:35 mrness Exp $
29 +
30 +*hcfpcimodem-1.14 (05 Nov 2007)
31 +
32 + 05 Nov 2007; Alin Năstac <mrness@g.o>
33 + +files/hcfpcimodem-1.14-implicit-declarations.patch,
34 + +hcfpcimodem-1.14.ebuild:
35 + Version bump.
36
37 *hcfpcimodem-1.13-r1 (28 Aug 2007)
38
39
40
41
42 1.1 net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild?rev=1.1&content-type=text/plain
46
47 Index: hcfpcimodem-1.14.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfpcimodem/hcfpcimodem-1.14.ebuild,v 1.1 2007/11/05 22:53:35 mrness Exp $
52
53 inherit eutils linux-info
54
55 #The document is the same as in hsfmodem, even if it has a different URL
56 MY_DOC="100498D_RM_HxF_Released.pdf"
57
58 DESCRIPTION="Linuxant's modem driver for Connexant HCF chipset"
59 HOMEPAGE="http://www.linuxant.com/drivers/hcf/index.php"
60 SRC_URI="http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${P}full.tar.gz
61 doc? ( http://www.linuxant.com/drivers/hcf/full/archive/${P}full/${MY_DOC} )"
62
63 LICENSE="Conexant"
64 SLOT="0"
65 KEYWORDS="-* ~x86"
66 IUSE="doc"
67
68 DEPEND="dev-lang/perl
69 app-arch/cpio"
70
71 S="${WORKDIR}/${P}full"
72
73 QA_EXECSTACK="usr/lib/hcfpcimodem/modules/imported/hcfblam-i386.O usr/lib/hcfpcimodem/modules/imported/hcfengine-i386.O"
74
75 pkg_setup() {
76 linux-info_pkg_setup
77
78 MOD_N="hcfpci"
79 # Check to see if module is inserted into kernel, otherwise, build fails
80 if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then
81 eerror
82 eerror "Module is in use by the kernel!!!"
83 eerror "Attempting to unload..."
84 eerror
85
86 # Unloading module...
87 ${MOD_N}stop
88 if [ "`lsmod | sed '/^'$MOD_N'serial/!d'`" ]; then
89 eerror "Failed to unload modules from kernel!!!"
90 eerror "Please manualy remove the module from the kernel and emerge again."
91 eerror
92 die
93 fi
94 einfo "Successfuly removed module from memory. Resuming emerge."
95 einfo
96 fi
97 }
98
99 src_unpack() {
100 unpack ${A}
101
102 epatch "${FILESDIR}/${P}-implicit-declarations.patch"
103 }
104
105 src_compile() {
106 emake all || die "make failed"
107 }
108
109 pkg_preinst() {
110 local NVMDIR="${ROOT}/etc/${PN}/nvm"
111 if [ -d "${NVMDIR}" ]; then
112 einfo "Cleaning ${NVMDIR}..."
113 rm -rf "${NVMDIR}"
114 eend
115 fi
116 }
117
118 src_install () {
119 make PREFIX="${D}/usr/" ROOT="${D}" install || die "make install failed"
120
121 # in some cases, kernelcompiler.sh does not have x permission (#173414)
122 fperms a+rx /usr/lib/hcfpcimodem/modules/kernelcompiler.sh
123
124 use doc && dodoc "${DISTDIR}/${MY_DOC}"
125 }
126
127 pkg_postinst() {
128 elog "To complete the installation and configuration of your HCF modem,"
129 elog "please run hcfpciconfig."
130 }
131
132
133
134 --
135 gentoo-commits@g.o mailing list