Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 148152 Details for
Bug 215967
app-laptop/tp_smapi should install udev rule
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
install udev rule if hdaps flag is enabled.
tp_smapi-0.37-r1.ebuild (text/plain), 1.44 KB, created by
Anton Bolshakov
on 2008-04-02 23:16:30 UTC
(
hide
)
Description:
install udev rule if hdaps flag is enabled.
Filename:
MIME Type:
Creator:
Anton Bolshakov
Created:
2008-04-02 23:16:30 UTC
Size:
1.44 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/app-laptop/tp_smapi/tp_smapi-0.37.ebuild,v 1.1 2008/03/30 22:35:05 welp Exp $ > >inherit linux-mod linux-info > >DESCRIPTION="IBM ThinkPad SMAPI BIOS driver" >HOMEPAGE="http://tpctl.sourceforge.net/" >SRC_URI="mirror://sourceforge/tpctl/${P}.tgz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" > >IUSE="hdaps" > >RESTRICT="userpriv" > ># We need dmideode if the kernel does not support DMI_DEV_TYPE_OEM_STRING ># in dmi.h >DEPEND="sys-apps/dmidecode" > >pkg_setup() { > linux-mod_pkg_setup > > if kernel_is lt 2 6 19; then > eerror > eerror "${P} requires Linux kernel 2.6.19 or above." > eerror > die "Unsupported kernel version" > fi > > MODULE_NAMES="thinkpad_ec(extra:) tp_smapi(extra:)" > BUILD_PARAMS="KSRC=${KV_DIR} KBUILD=${KV_DIR}" > BUILD_TARGETS="default" > > if use hdaps; then > MODULE_NAMES="${MODULE_NAMES} hdaps(extra:)" > BUILD_PARAMS="${BUILD_PARAMS} HDAPS=1" > > CONFIG_CHECK="!SENSORS_HDAPS" > ERROR_SENSORS_HDAPS="${P} with USE=hdaps conflicts with in-kernel HDAPS (CONFIG_SENSORS_HDAPS)" > linux-info_pkg_setup > fi >} > >src_unpack() { > unpack ${A} > cd "${S}" > > # Remove usage of `sudo` in Makefile. > sed -i 's,sudo ,,' Makefile >} > >src_install() { > linux-mod_src_install > > if use hdaps; then > # udev rules > insinto /etc/udev/rules.d > newins ${FILESDIR}/51-hdaps.rules 51-hdaps.rules > fi > > dodoc CHANGES README >}
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 215967
:
148151
|
148152
|
169774
|
177652