Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40464 Details for
Bug 3578
bewan pci ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bewan-adsl-0.8.7.ebuild
bewan-adsl-0.8.7.ebuild (text/plain), 2.08 KB, created by
Alin Năstac (RETIRED)
on 2004-09-26 10:16:13 UTC
(
hide
)
Description:
bewan-adsl-0.8.7.ebuild
Filename:
MIME Type:
Creator:
Alin Năstac (RETIRED)
Created:
2004-09-26 10:16:13 UTC
Size:
2.08 KB
patch
obsolete
>inherit eutils kmod > >DESCRIPTION="Bewan ADSL PCI&USB st driver" >SRC_URI="http://www.bewan.com/bewan/drivers/bast-${PV}.tgz" >HOMEPAGE="http://www.bewan.com/" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="usb doc" > >S="${WORKDIR}/unicorn" > >src_compile() { > get_kernel_info || die > #kmod_make_linux_writable || die #without this we cannot compile this driver for 2.6 kernels > > einfo "Build common library" > cd ${S}/libm > emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" > > ( > unset ARCH #unset ARCH because interfere with 2.6 kernel makefiles > > einfo "Build PCI driver" > cd ${S}/unicorn_pci > emake > [ -f unicorn_pci_atm.${KV_OBJ} ] && [ -f unicorn_pci_eth.${KV_OBJ} ] \ > || die "Failed to build PCI driver" > > if use usb; then > einfo "Build USB driver" > cd ${S}/unicorn_usb > emake > [ -f unicorn_usb_atm.${KV_OBJ} ] && [ -f unicorn_usb_eth.${KV_OBJ} ] \ > || die "Failed to build USB driver" > fi > ) > > #Build tools > cd ${S}/tools > emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" >} > >src_install() { > cd ${S} > insinto "/lib/modules/${KV}/kernel/drivers/atm" > doins unicorn_pci/unicorn_pci_atm.${KV_OBJ} && \ > doins unicorn_pci/unicorn_pci_eth.${KV_OBJ} || \ > die "PCI driver not found! Install aborted." > if use usb; then > doins unicorn_usb/unicorn_usb_atm.${KV_OBJ} && \ > doins unicorn_usb/unicorn_usb_eth.${KV_OBJ} || \ > die "USB driver not found! Install aborted." > fi > > #Install tools > dodir /usr/bin > cd ${S}/tools && einstall DESTDIR=${D} prefix=/usr || \ > die "Cannot install tools" > > if use doc; then > #Install documantation > cd ${S} > dodoc README > docinto Documentation > dodoc Documentation/* > docinto RFCs > dodoc RFCs/* > docinto scripts > dodoc scripts/* > fi >} > >pkg_postinst() { > einfo "Regenerate modules dependencies for kernel ${KV}" > depmod -ae ${KV} > eend $? > einfo "" > einfo "To load the driver do 'insmod unicorn_atm' and 'insmod unicorn_pci' " > einfo "and then do what you want with it (configure your pppd)" > einfo "OR" > einfo "it's time to look at the README file, the scripts directory gives you" > einfo "two comprehensive ways to load the driver, configure pppd and launch it." >} >
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 3578
:
1425
|
1426
|
40463
| 40464