diff options
author | Daniel Drake <dsd@gentoo.org> | 2006-07-17 20:02:45 +0000 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2006-07-17 20:02:45 +0000 |
commit | 2f8b7ef8633c68234ae4cc615b1436b0aa57c0ba (patch) | |
tree | 1be894f3cd1be68d95bd09267b502d0c320e0011 /app-laptop | |
parent | Fix compilation on Linux 2.6.17, thanks to Henryk Plotz in bug #137646 (diff) | |
download | gentoo-2-2f8b7ef8633c68234ae4cc615b1436b0aa57c0ba.tar.gz gentoo-2-2f8b7ef8633c68234ae4cc615b1436b0aa57c0ba.tar.bz2 gentoo-2-2f8b7ef8633c68234ae4cc615b1436b0aa57c0ba.zip |
Fix compilation on Linux 2.6.17, thanks to Henryk Plotz in bug #137646
(Portage version: 2.1.1_pre2-r2)
(Unsigned Manifest commit)
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/thinkpad/Manifest | 66 | ||||
-rw-r--r-- | app-laptop/thinkpad/files/digest-thinkpad-5.7 | 1 | ||||
-rw-r--r-- | app-laptop/thinkpad/files/digest-thinkpad-5.8 | 1 | ||||
-rw-r--r-- | app-laptop/thinkpad/thinkpad-5.7.ebuild | 66 | ||||
-rw-r--r-- | app-laptop/thinkpad/thinkpad-5.8.ebuild | 61 |
5 files changed, 27 insertions, 168 deletions
diff --git a/app-laptop/thinkpad/Manifest b/app-laptop/thinkpad/Manifest index 30a72d6ae367..d96bc6795e03 100644 --- a/app-laptop/thinkpad/Manifest +++ b/app-laptop/thinkpad/Manifest @@ -1,63 +1,57 @@ -AUX thinkpad 545 RMD160 6ac014699371fccc7387315fbaf09080e5368977 SHA1 aa90a5ae350609c3aa51ee9d94aa77aecfe89b71 SHA256 f33d6e2fd998bc4dad0f372c9f2ab139369b415ecff5489c41944fc35decb5ee size 545 +AUX thinkpad 545 RMD160 6ac014699371fccc7387315fbaf09080e5368977 SHA1 aa90a5ae350609c3aa51ee9d94aa77aecfe89b71 SHA256 f33d6e2fd998bc4dad0f372c9f2ab139369b415ecff5489c41944fc35decb5ee MD5 26886c3a2e8b9c3b807371e643dd5c75 files/thinkpad 545 RMD160 6ac014699371fccc7387315fbaf09080e5368977 files/thinkpad 545 SHA256 f33d6e2fd998bc4dad0f372c9f2ab139369b415ecff5489c41944fc35decb5ee files/thinkpad 545 -AUX thinkpad-5.8-cpu_ptr.patch 634 RMD160 0fd6cc16f71e228f13a9cce01055f4bc4a96f806 SHA1 9258b0dae64a24b8e894e040aa655fef1c4c49fd SHA256 48418d14851cba7c9f3b280e4c0674ac2214348ccd543248fd24d6e6747e693a size 634 +AUX thinkpad-5.8-cpu_ptr.patch 634 RMD160 0fd6cc16f71e228f13a9cce01055f4bc4a96f806 SHA1 9258b0dae64a24b8e894e040aa655fef1c4c49fd SHA256 48418d14851cba7c9f3b280e4c0674ac2214348ccd543248fd24d6e6747e693a MD5 53ea99e36366006d376acc68b63762eb files/thinkpad-5.8-cpu_ptr.patch 634 RMD160 0fd6cc16f71e228f13a9cce01055f4bc4a96f806 files/thinkpad-5.8-cpu_ptr.patch 634 SHA256 48418d14851cba7c9f3b280e4c0674ac2214348ccd543248fd24d6e6747e693a files/thinkpad-5.8-cpu_ptr.patch 634 -AUX thinkpad-5.9-remove-inter_module.patch 5974 RMD160 12ff7660f880fb2b731f5aa02d5a45861eb59e6f SHA1 f75ad677eb158c0b82fb005b530a94cc9b1b7dd5 SHA256 f75291cbc0aac1cbc5531be6788e343682684d80562d7a82ec6d4c6759925418 size 5974 +AUX thinkpad-5.9-module-param.patch 992 RMD160 80bc42d8d92da4174e6e9d23f733f3658c9e1a7f SHA1 6cd5facfcb3d9745f769bc7422e917e8acd39014 SHA256 4bc08dae456cf96bcfcaf416967657c079982b38a1b89ec6d71b684f2a4688bf +MD5 4ad05575956f8ff9619a3a2084dea724 files/thinkpad-5.9-module-param.patch 992 +RMD160 80bc42d8d92da4174e6e9d23f733f3658c9e1a7f files/thinkpad-5.9-module-param.patch 992 +SHA256 4bc08dae456cf96bcfcaf416967657c079982b38a1b89ec6d71b684f2a4688bf files/thinkpad-5.9-module-param.patch 992 +AUX thinkpad-5.9-remove-inter_module.patch 5974 RMD160 12ff7660f880fb2b731f5aa02d5a45861eb59e6f SHA1 f75ad677eb158c0b82fb005b530a94cc9b1b7dd5 SHA256 f75291cbc0aac1cbc5531be6788e343682684d80562d7a82ec6d4c6759925418 MD5 59791b4b3c27736dee2bdc9c4a5520ec files/thinkpad-5.9-remove-inter_module.patch 5974 RMD160 12ff7660f880fb2b731f5aa02d5a45861eb59e6f files/thinkpad-5.9-remove-inter_module.patch 5974 SHA256 f75291cbc0aac1cbc5531be6788e343682684d80562d7a82ec6d4c6759925418 files/thinkpad-5.9-remove-inter_module.patch 5974 -AUX thinkpad-5.9-remove-thinkpadapm-argument.patch 1052 RMD160 e1c7831dea7ace73cb619005ade0652d6b0ab992 SHA1 527c9c690da0ab3ae5d42c0c0a0ec4a2534a589b SHA256 57fe17e7d1644f16815d8b052efd8a5cbd34564b5539247b57a23f27a05eb1c8 size 1052 +AUX thinkpad-5.9-remove-thinkpadapm-argument.patch 1052 RMD160 e1c7831dea7ace73cb619005ade0652d6b0ab992 SHA1 527c9c690da0ab3ae5d42c0c0a0ec4a2534a589b SHA256 57fe17e7d1644f16815d8b052efd8a5cbd34564b5539247b57a23f27a05eb1c8 MD5 000dd629c39dced23bd711480551c81c files/thinkpad-5.9-remove-thinkpadapm-argument.patch 1052 RMD160 e1c7831dea7ace73cb619005ade0652d6b0ab992 files/thinkpad-5.9-remove-thinkpadapm-argument.patch 1052 SHA256 57fe17e7d1644f16815d8b052efd8a5cbd34564b5539247b57a23f27a05eb1c8 files/thinkpad-5.9-remove-thinkpadapm-argument.patch 1052 -DIST thinkpad-5.9.tar.gz 74779 RMD160 93d3d8ff6d64191ff07252654489a9bc5d878457 SHA256 49d2eab42e57d71cb0f175a645c703fce458a852552842ea56e0c81547d8f715 size 74779 -DIST thinkpad_3.2.tar.gz 64386 size 64386 -DIST thinkpad_4.1.tar.gz 84278 size 84278 -DIST thinkpad_4.3.tar.gz 84492 size 84492 -DIST thinkpad_4.8.tar.gz 88476 size 88476 -DIST thinkpad_5.7.tar.gz 75918 size 75918 -DIST thinkpad_5.8.tar.gz 75879 size 75879 -EBUILD thinkpad-3.2.ebuild 1102 RMD160 3fb34954ac2cd8a6be405a557d067ba4c4834230 SHA1 7537345f9b82f61f2364d685e952c8f993c05383 SHA256 c5e4cfb4037377935a401c9ff7947be53a9a731ec40db6935191b8c851ff1fc2 size 1102 +DIST thinkpad-5.9.tar.gz 74779 RMD160 93d3d8ff6d64191ff07252654489a9bc5d878457 SHA1 c3f88d36ed39f83e6d888c9d174de9bc80724ea6 SHA256 49d2eab42e57d71cb0f175a645c703fce458a852552842ea56e0c81547d8f715 +DIST thinkpad_3.2.tar.gz 64386 +DIST thinkpad_4.1.tar.gz 84278 +DIST thinkpad_4.3.tar.gz 84492 +DIST thinkpad_4.8.tar.gz 88476 +EBUILD thinkpad-3.2.ebuild 1102 RMD160 3fb34954ac2cd8a6be405a557d067ba4c4834230 SHA1 7537345f9b82f61f2364d685e952c8f993c05383 SHA256 c5e4cfb4037377935a401c9ff7947be53a9a731ec40db6935191b8c851ff1fc2 MD5 f931aa8596c2b096214b3cb7af3b894f thinkpad-3.2.ebuild 1102 RMD160 3fb34954ac2cd8a6be405a557d067ba4c4834230 thinkpad-3.2.ebuild 1102 SHA256 c5e4cfb4037377935a401c9ff7947be53a9a731ec40db6935191b8c851ff1fc2 thinkpad-3.2.ebuild 1102 -EBUILD thinkpad-4.1.ebuild 1372 RMD160 fcade7f8150de84c048754a3127093ae3ea975ce SHA1 bf9b4d18c7ca84d4f682066453060f84c03a9548 SHA256 d3d97934a2778d07893a23ecc8c9f8c47fbbd2f0d993f73feeedcfa43fb2bb7e size 1372 +EBUILD thinkpad-4.1.ebuild 1372 RMD160 fcade7f8150de84c048754a3127093ae3ea975ce SHA1 bf9b4d18c7ca84d4f682066453060f84c03a9548 SHA256 d3d97934a2778d07893a23ecc8c9f8c47fbbd2f0d993f73feeedcfa43fb2bb7e MD5 4f4f4791f1af04f2382bddbece4f9520 thinkpad-4.1.ebuild 1372 RMD160 fcade7f8150de84c048754a3127093ae3ea975ce thinkpad-4.1.ebuild 1372 SHA256 d3d97934a2778d07893a23ecc8c9f8c47fbbd2f0d993f73feeedcfa43fb2bb7e thinkpad-4.1.ebuild 1372 -EBUILD thinkpad-4.3-r1.ebuild 2007 RMD160 450bf138d65256a8ee739a4cdd310aedcbd6ece5 SHA1 bcdd6e7c4d45e6e1019de1d01c7b42b633d263d1 SHA256 9de4d3b3b878b0088e10610cc8041f589669f26ff92ff946236e9a98b6f55944 size 2007 +EBUILD thinkpad-4.3-r1.ebuild 2007 RMD160 450bf138d65256a8ee739a4cdd310aedcbd6ece5 SHA1 bcdd6e7c4d45e6e1019de1d01c7b42b633d263d1 SHA256 9de4d3b3b878b0088e10610cc8041f589669f26ff92ff946236e9a98b6f55944 MD5 70d35cbb2f6698600a92fc3df76541d2 thinkpad-4.3-r1.ebuild 2007 RMD160 450bf138d65256a8ee739a4cdd310aedcbd6ece5 thinkpad-4.3-r1.ebuild 2007 SHA256 9de4d3b3b878b0088e10610cc8041f589669f26ff92ff946236e9a98b6f55944 thinkpad-4.3-r1.ebuild 2007 -EBUILD thinkpad-4.3.ebuild 1907 RMD160 504976d6de206f48d1614120eb4219fb0505dddf SHA1 ea4694478b94399ff0b9981f6f9205a73913f1aa SHA256 8c530f6c469ee0db8324f745df686ade2f734acb5dbdab1d9dbf5bc1b6492a21 size 1907 +EBUILD thinkpad-4.3.ebuild 1907 RMD160 504976d6de206f48d1614120eb4219fb0505dddf SHA1 ea4694478b94399ff0b9981f6f9205a73913f1aa SHA256 8c530f6c469ee0db8324f745df686ade2f734acb5dbdab1d9dbf5bc1b6492a21 MD5 b70dc4d648e03a18b73d8f69e5a96ec8 thinkpad-4.3.ebuild 1907 RMD160 504976d6de206f48d1614120eb4219fb0505dddf thinkpad-4.3.ebuild 1907 SHA256 8c530f6c469ee0db8324f745df686ade2f734acb5dbdab1d9dbf5bc1b6492a21 thinkpad-4.3.ebuild 1907 -EBUILD thinkpad-4.8.ebuild 2004 RMD160 79dfab40f86bb56ea62df660cc83b665b6f766df SHA1 b032e8d69639cdee68f1b0029777d24daffdc3f7 SHA256 3cd71ce210ad60245eb38f80884a99b9aa19495a8bee4a47ceceb7ef57d41bc8 size 2004 +EBUILD thinkpad-4.8.ebuild 2004 RMD160 79dfab40f86bb56ea62df660cc83b665b6f766df SHA1 b032e8d69639cdee68f1b0029777d24daffdc3f7 SHA256 3cd71ce210ad60245eb38f80884a99b9aa19495a8bee4a47ceceb7ef57d41bc8 MD5 5a3b38a8550c1f5f07daa4e60052bfe1 thinkpad-4.8.ebuild 2004 RMD160 79dfab40f86bb56ea62df660cc83b665b6f766df thinkpad-4.8.ebuild 2004 SHA256 3cd71ce210ad60245eb38f80884a99b9aa19495a8bee4a47ceceb7ef57d41bc8 thinkpad-4.8.ebuild 2004 -EBUILD thinkpad-5.7.ebuild 1855 RMD160 1ae5c5b91fe433ef94d4e2f99d628aaac274d521 SHA1 ec6ab20c7047baed9dd57bad881e12b3fb83d9b2 SHA256 eadfb4c43ab27a879459c467001b073f2e22d1c13223cff8908fb5fc693279ba size 1855 -MD5 d4bb94aa4eaa39516296e47fb32257bd thinkpad-5.7.ebuild 1855 -RMD160 1ae5c5b91fe433ef94d4e2f99d628aaac274d521 thinkpad-5.7.ebuild 1855 -SHA256 eadfb4c43ab27a879459c467001b073f2e22d1c13223cff8908fb5fc693279ba thinkpad-5.7.ebuild 1855 -EBUILD thinkpad-5.8.ebuild 1240 RMD160 7181e0c4cb2a473b13008f3f97c5cb727b457d3c SHA1 f2771cbe9c1066b87542ba6d3807dedb11cb3c88 SHA256 8de6ed1cb646e1f8a6b1873a66b436cb34ad21d3d7c582ea39bfbe2d31415016 size 1240 -MD5 bed148d23e0d3c49ca3ff29ed6aa81f2 thinkpad-5.8.ebuild 1240 -RMD160 7181e0c4cb2a473b13008f3f97c5cb727b457d3c thinkpad-5.8.ebuild 1240 -SHA256 8de6ed1cb646e1f8a6b1873a66b436cb34ad21d3d7c582ea39bfbe2d31415016 thinkpad-5.8.ebuild 1240 -EBUILD thinkpad-5.9-r1.ebuild 1244 RMD160 7c14edb5b026f2641d1ed5d0c9cb89c76867b54e SHA1 77431aad585f9d8a10c42f7bc10c2219e07fab94 SHA256 3383af93c6c6ead719600a9cc868a5ecb0b8284228274fae724efb3daa0322f6 size 1244 -MD5 064a31c6c4e91fd79274b50cde3f07e3 thinkpad-5.9-r1.ebuild 1244 -RMD160 7c14edb5b026f2641d1ed5d0c9cb89c76867b54e thinkpad-5.9-r1.ebuild 1244 -SHA256 3383af93c6c6ead719600a9cc868a5ecb0b8284228274fae724efb3daa0322f6 thinkpad-5.9-r1.ebuild 1244 -MISC ChangeLog 4281 RMD160 cd93b6dbf6c95f2d12b1e996953877c82cec0bef SHA1 5326fc6c99667076fbe3e6d119346ab8b0b3a750 SHA256 0927524f85ddb2b4be5ebbde07807ae765f3301243f745c72a0e90c9d14ccc33 size 4281 -MD5 599e3fafdf6dfc451cb8cb4e2b3f83d8 ChangeLog 4281 -RMD160 cd93b6dbf6c95f2d12b1e996953877c82cec0bef ChangeLog 4281 -SHA256 0927524f85ddb2b4be5ebbde07807ae765f3301243f745c72a0e90c9d14ccc33 ChangeLog 4281 -MISC metadata.xml 257 RMD160 7f24abacd3c499b06eb4314a0cbd618acc9b3b86 SHA1 5dcc7e2d25909c0340fcba06a149e0bc79162c2e SHA256 3870cf69413cacc58e43006c91b3e37453c57ee34f19a335eb40fb31fc6b4ffe size 257 +EBUILD thinkpad-5.9-r1.ebuild 1307 RMD160 86f672fc432bdce4595e1557fc0063cdceac0daa SHA1 a3a2c6ffa1e156005742c29d28c3992864da354a SHA256 b247dd0b1b0859c0a8efc3005770605bc294da43b60f7f5bc3db7d3a6079ba4b +MD5 a3e008159556e8132c1c4694a5e9fa97 thinkpad-5.9-r1.ebuild 1307 +RMD160 86f672fc432bdce4595e1557fc0063cdceac0daa thinkpad-5.9-r1.ebuild 1307 +SHA256 b247dd0b1b0859c0a8efc3005770605bc294da43b60f7f5bc3db7d3a6079ba4b thinkpad-5.9-r1.ebuild 1307 +MISC ChangeLog 4506 RMD160 42bf4859cb50f5bb1f94dadb81068ebea885ab65 SHA1 e5f7852695b09574cf9f508132d4b73261033980 SHA256 1d43f77d11858f844d1c3b56f26c0fdd466eb77c14efaf871649f23f67ccfc13 +MD5 f49ae54fb2a22a3affa9219ae9d520f4 ChangeLog 4506 +RMD160 42bf4859cb50f5bb1f94dadb81068ebea885ab65 ChangeLog 4506 +SHA256 1d43f77d11858f844d1c3b56f26c0fdd466eb77c14efaf871649f23f67ccfc13 ChangeLog 4506 +MISC metadata.xml 257 RMD160 7f24abacd3c499b06eb4314a0cbd618acc9b3b86 SHA1 5dcc7e2d25909c0340fcba06a149e0bc79162c2e SHA256 3870cf69413cacc58e43006c91b3e37453c57ee34f19a335eb40fb31fc6b4ffe MD5 9cb8c919fc98f51c73bb8e42f2057867 metadata.xml 257 RMD160 7f24abacd3c499b06eb4314a0cbd618acc9b3b86 metadata.xml 257 SHA256 3870cf69413cacc58e43006c91b3e37453c57ee34f19a335eb40fb31fc6b4ffe metadata.xml 257 @@ -76,12 +70,6 @@ SHA256 f01caf1163b4bb68eb7653cc16732c49268cbe94eaabcbeeb1a163a951e4ad85 files/di MD5 feffa2e3a3d70a62bd850ad019807206 files/digest-thinkpad-4.8 63 RMD160 cbc759e3db1877be2626255ede332b86a08d42bf files/digest-thinkpad-4.8 63 SHA256 a8cec4339f2f28e1331e66d485039928c0dacdc84c31c52058b8a05236b32124 files/digest-thinkpad-4.8 63 -MD5 94ca61fed5cf33f3a408cca8edad7d0b files/digest-thinkpad-5.7 63 -RMD160 7c50901258ae8523c68625ac8ca934b3883f5e5a files/digest-thinkpad-5.7 63 -SHA256 d5e55a058531417a5a86f8d10cb599f141cac27dc2c6ce4bf97196bc964e627d files/digest-thinkpad-5.7 63 -MD5 87bb1964098b9b0fd2093bc245c16699 files/digest-thinkpad-5.8 63 -RMD160 fb14b1c43e5dfc96eaed34c5bddce2ba208e9ff7 files/digest-thinkpad-5.8 63 -SHA256 0de9ad3e903e6330e9379951bda2296da486fd7b650b1e0b200fe69334bde723 files/digest-thinkpad-5.8 63 MD5 c35ad826276df3cf38204f217c633902 files/digest-thinkpad-5.9-r1 235 RMD160 d5c3f521d5bc24abe05caa4e230afaaa13a806c5 files/digest-thinkpad-5.9-r1 235 SHA256 8178715d1dd873c669ce74f5ff1a6a300dce69c2af42ec7bcca9fc457b579ecf files/digest-thinkpad-5.9-r1 235 diff --git a/app-laptop/thinkpad/files/digest-thinkpad-5.7 b/app-laptop/thinkpad/files/digest-thinkpad-5.7 deleted file mode 100644 index 38eb904eef42..000000000000 --- a/app-laptop/thinkpad/files/digest-thinkpad-5.7 +++ /dev/null @@ -1 +0,0 @@ -MD5 ec975f15656b5f3c98075a528d9cb9d6 thinkpad_5.7.tar.gz 75918 diff --git a/app-laptop/thinkpad/files/digest-thinkpad-5.8 b/app-laptop/thinkpad/files/digest-thinkpad-5.8 deleted file mode 100644 index 6930ddfbc689..000000000000 --- a/app-laptop/thinkpad/files/digest-thinkpad-5.8 +++ /dev/null @@ -1 +0,0 @@ -MD5 288ab19587bb3a8a4d6097448059b4c6 thinkpad_5.8.tar.gz 75879 diff --git a/app-laptop/thinkpad/thinkpad-5.7.ebuild b/app-laptop/thinkpad/thinkpad-5.7.ebuild deleted file mode 100644 index c540f63e2ef3..000000000000 --- a/app-laptop/thinkpad/thinkpad-5.7.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/thinkpad-5.7.ebuild,v 1.4 2006/01/11 15:34:27 config Exp $ - -inherit eutils - -#transform P to match tarball versioning -MYPV=${PV/_beta/beta} -MYP="${PN}_${MYPV}" -DESCRIPTION="Thinkpad system control kernel modules" -HOMEPAGE="http://tpctl.sourceforge.net/tpctlhome.htm" -SRC_URI="mirror://sourceforge/tpctl/${MYP}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~x86" -IUSE="" - -DEPEND="virtual/libc" - -pkg_setup() { - enewgroup thinkpad -} - -src_unpack() { - check_KV - unpack ${A} || die - cd ${S} - local ver=${KV:0:3} # first 3 chars of $KV, thank you bash :) - ln -s $ver/drivers drivers - ln -s $ver/include include -} - -src_compile() { - unset ARCH - MAKEOPTS="" emake all || die "Make failed" -} - -src_install() { - dodoc AUTHORS ChangeLog README SUPPORTED-MODELS TECHNOTES - dodir /lib/modules/${KV}/thinkpad - [ -e "${S}/drivers/thinkpad.ko" ] && MOD="ko" || MOD="o" - cp ${S}/drivers/{thinkpad,smapi,superio,rtcmosram,thinkpadpm}.${MOD} \ - ${D}/lib/modules/${KV}/thinkpad - dodir /etc/modules.d - sed 's/%KV%/'${KV}'/g' ${FILESDIR}/thinkpad > ${D}/etc/modules.d/thinkpad - dodir /etc/devfs.d - echo 'REGISTER ^thinkpad/.*$ PERMISSIONS root.thinkpad 0664' \ - > ${D}/etc/devfs.d/thinkpad - doman man/*.4 -} - -pkg_postinst() { - [ "${ROOT}" == "/" ] && /usr/sbin/update-modules - if ! grep -q '^ *INCLUDE.*devfs\.d' /etc/devfsd.conf; then - ewarn 'Your /etc/devfsd.conf is missing the include for' - ewarn '/etc/devfs.d/! Please fix this by adding' - ewarn 'INCLUDE /etc/devfs.d' - ewarn 'to your /etc/devfs.conf' - fi - if grep -q thinkpad /etc/devfsd.conf; then - ewarn 'The thinkpad devfsd entry has moved to' - ewarn '/etc/devfs.d/thinkpad, so you can remove it from' - ewarn '/etc/devfsd.conf if you like.' - fi -} diff --git a/app-laptop/thinkpad/thinkpad-5.8.ebuild b/app-laptop/thinkpad/thinkpad-5.8.ebuild deleted file mode 100644 index 29c376e433d2..000000000000 --- a/app-laptop/thinkpad/thinkpad-5.8.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkpad/thinkpad-5.8.ebuild,v 1.2 2005/12/24 11:24:48 betelgeuse Exp $ - -inherit eutils linux-mod - -MY_P=${PN}_${PV} - -DESCRIPTION="Thinkpad system control kernel modules" - -HOMEPAGE="http://tpctl.sourceforge.net" -SRC_URI="mirror://sourceforge/tpctl/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86" - -IUSE="" - -BUILD_PARAMS="KSRC=${KV_DIR}" - -MODULESD_THINKPAD_DOCS="README" - -pkg_setup() { - linux-info_pkg_setup - - case ${KV_MINOR} in - 4) - BUILD_TARGETS="all" - ;; - 6) - BUILD_TARGETS="default" - ;; - *) - die "Unsupported kernel version." - ;; - esac - - MODULE_NAMES="thinkpad(thinkpad:${S}/${KV_MAJOR}.${KV_MINOR}/drivers) - smapi(thinkpad:${S}/${KV_MAJOR}.${KV_MINOR}/drivers) - superio(thinkpad:${S}/${KV_MAJOR}.${KV_MINOR}/drivers) - rtcmosram(thinkpad:${S}/${KV_MAJOR}.${KV_MINOR}/drivers) - thinkpadpm(thinkpad:${S}/${KV_MAJOR}.${KV_MINOR}/drivers)" - - linux-mod_pkg_setup -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-cpu_ptr.patch -} - -src_install() { - linux-mod_src_install - - dodoc AUTHORS ChangeLog SUPPORTED-MODELS TECHNOTES - - doman man/* -} |