Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40438 Details for
Bug 22299
Ebuild for PCTel-based linmodem
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pctel-0.9.7.ebuild
pctel-0.9.7.ebuild (text/plain), 1.49 KB, created by
Alin Năstac (RETIRED)
on 2004-09-26 04:09:27 UTC
(
hide
)
Description:
pctel-0.9.7.ebuild
Filename:
MIME Type:
Creator:
Alin Năstac (RETIRED)
Created:
2004-09-26 04:09:27 UTC
Size:
1.49 KB
patch
obsolete
>inherit kernel-mod eutils > >MY_PV=${PV}-9 >MY_P=${PN}-${MY_PV} >S=${WORKDIR}/${MY_P} >DESCRIPTION="Linux driver for PCTel-base linmodems" >HOMEPAGE="http://linmodems.technion.ac.il/pctel-linux/" >SRC_URI="http://linmodems.technion.ac.il/pctel-linux/${MY_P}.tar.gz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" > >S="${WORKDIR}/${MY_P}" > >DEPEND="" >RDEPEND="" > >pkg_setup () { > kernel-mod_getversion > if ! kernel-mod_is_2_4_kernel; then > eerror "This version of ${PN} will only compile against Linux 2.4.x" > eerror "Please change where /usr/src/linux points to, or export the KERNEL_DIR" > eerror "environment variable like this:" > eerror > eerror " KERNEL_DIR=\"<dir>\" emerge ${PN}" > > die "${P} only works with Linux 2.4" > fi >} > >src_unpack() { > unpack ${A} > cd ${S} > epatch ${FILESDIR}/${P}-82801DB-gentoo.diff >} > >src_compile() { > cd ${S}/src > sed -e "s:kernel_inc=/usr/src/linux:kernel_inc=${KERNEL_DIR}:" \ > -e "s:\`uname -r\`:${KV_DIR_VERSION_FULL}:" \ > configure > configure.gentoo > sh configure.gentoo -auto || die > emake || die >} > >src_install() { > cd "${S}/src" > insinto /lib/modules/${KV_DIR_VERSION_FULL}/misc > doins ptmodule.o ptserial.o > > insinto /etc/modules.d > newins "${FILESDIR}/pctel.modules" pctel > > dodir /dev > mknod ${D}/dev/ttyS15 c 62 79 > fperms 660 "/dev/ttyS15" > fowners root:dialout "/dev/ttyS15" >} > >pkg_postinst() >{ > einfo "The modem is accessible with /dev/ttyS15" > einfo "You need to edit /etc/modules.d/pctel and run modules-update." > einfo "You must be in the dialout group to use the modem." >}
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 22299
:
12845
|
12846
|
12847
|
12848
|
40433
| 40438