Move Package from app-misc to app-laptop
authorStefan Schweizer <genstef@gentoo.org>
Mon, 15 Nov 2004 19:31:46 +0000 (19:31 +0000)
committerStefan Schweizer <genstef@gentoo.org>
Mon, 15 Nov 2004 19:31:46 +0000 (19:31 +0000)
13 files changed:
app-laptop/omnibook/ChangeLog [new file with mode: 0644]
app-laptop/omnibook/Manifest [new file with mode: 0644]
app-laptop/omnibook/files/digest-omnibook-20021016 [new file with mode: 0644]
app-laptop/omnibook/files/digest-omnibook-20030403 [new file with mode: 0644]
app-laptop/omnibook/files/digest-omnibook-20030828 [new file with mode: 0644]
app-laptop/omnibook/files/digest-omnibook-20040701 [new file with mode: 0644]
app-laptop/omnibook/files/digest-omnibook-20040916 [new file with mode: 0644]
app-laptop/omnibook/metadata.xml [new file with mode: 0644]
app-laptop/omnibook/omnibook-20021016.ebuild [new file with mode: 0644]
app-laptop/omnibook/omnibook-20030403.ebuild [new file with mode: 0644]
app-laptop/omnibook/omnibook-20030828.ebuild [new file with mode: 0644]
app-laptop/omnibook/omnibook-20040701.ebuild [new file with mode: 0644]
app-laptop/omnibook/omnibook-20040916.ebuild [new file with mode: 0644]

diff --git a/app-laptop/omnibook/ChangeLog b/app-laptop/omnibook/ChangeLog
new file mode 100644 (file)
index 0000000..e911ba5
--- /dev/null
@@ -0,0 +1,39 @@
+# ChangeLog for app-misc/omnibook
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/ChangeLog,v 1.1 2004/11/15 19:31:46 genstef Exp $
+
+*omnibook-20040916 (15 Nov 2004)
+
+  15 Nov 2004; Stefan Schweizer <genstef@gentoo.org> +metadata.xml,
+  +omnibook-20021016.ebuild, +omnibook-20030403.ebuild,
+  +omnibook-20030828.ebuild, +omnibook-20040701.ebuild,
+  +omnibook-20040916.ebuild:
+  Move Package from app-misc to app-laptop
+
+*omnibook-20040916 (15 Nov 2004)
+
+  15 Nov 2004; Stefan Schweizer <genstef@gentoo.org> +metadata.xml,
+  +omnibook-20040916.ebuild:
+  Version bump, migration to kernel-mod and closes bug 69944 thanks to Tom A.
+  Bergmann <botas@gmx.net>
+
+*omnibook-20040701 (20 Jul 2004)
+
+  20 Jul 2004; <plasmaroo@gentoo.org> +omnibook-20040701.ebuild:
+  Version bump - closes bug #42858.
+
+*omnibook-20030828 (31 Oct 2003)
+
+  31 Oct 2003; <plasmaroo@gentoo.org> omnibook-20030828.ebuild:
+  Version bump.
+
+*omnibook-20030403 (12 May 2003)
+
+  12 May 2003; Hanno Boeck <hanno@gentoo.org> omnibook-20030403 :
+  New version commited by Gustavo Felisberto.
+
+*omnibook-20021016 (01 Jan 2003)
+
+  01 Jan 2003; Hanno Boeck <hanno@gentoo.org> omnibook-20021016.ebuild :
+  Added ebuild for omnibook kernel module. Resolves bug #11409.
+  Ebuild commited by Mikko Ala-Fossi.
diff --git a/app-laptop/omnibook/Manifest b/app-laptop/omnibook/Manifest
new file mode 100644 (file)
index 0000000..1e3c778
--- /dev/null
@@ -0,0 +1,12 @@
+MD5 7c1ab1f3c0cbabce260e88ac1f4f0d42 omnibook-20021016.ebuild 675
+MD5 119e306294acbb77e07f3048b453fedc omnibook-20030403.ebuild 922
+MD5 023790f1a2e80f750444cb65e747e085 omnibook-20030828.ebuild 922
+MD5 2f0cc4019a8a78b8ddb29fc9573519d7 omnibook-20040701.ebuild 974
+MD5 243e181abccb7280e74606546e14cbc6 ChangeLog 1341
+MD5 6f28c86a5fbe8c5bb1e4180ecab60055 omnibook-20040916.ebuild 1591
+MD5 f17c483cfcc1efe580afd0b737d3f2c3 metadata.xml 264
+MD5 a3344458094ddcd21372db887e7613a4 files/digest-omnibook-20021016 70
+MD5 54b0cd349e32bc6df3e21fb8fc875d1b files/digest-omnibook-20030403 70
+MD5 19837ebc974717403728fff87f49488d files/digest-omnibook-20030828 70
+MD5 b5bf4d8a278c1e3d08ff2dbdba4868e2 files/digest-omnibook-20040701 70
+MD5 e35908816aae2b9d8c6753e0a34bc5fc files/digest-omnibook-20040916 70
diff --git a/app-laptop/omnibook/files/digest-omnibook-20021016 b/app-laptop/omnibook/files/digest-omnibook-20021016
new file mode 100644 (file)
index 0000000..08a8a29
--- /dev/null
@@ -0,0 +1 @@
+MD5 bbb00bf5651f8f8221e64be40270f6c0 omnibook-2002-10-16.tar.gz 36916
diff --git a/app-laptop/omnibook/files/digest-omnibook-20030403 b/app-laptop/omnibook/files/digest-omnibook-20030403
new file mode 100644 (file)
index 0000000..0ed88be
--- /dev/null
@@ -0,0 +1 @@
+MD5 4df887253aa6631fff68b9ba0524ac11 omnibook-2003-04-03.tar.gz 46670
diff --git a/app-laptop/omnibook/files/digest-omnibook-20030828 b/app-laptop/omnibook/files/digest-omnibook-20030828
new file mode 100644 (file)
index 0000000..f7e2816
--- /dev/null
@@ -0,0 +1 @@
+MD5 783686d65e6f522c7149773de38b1030 omnibook-2003-08-28.tar.gz 46983
diff --git a/app-laptop/omnibook/files/digest-omnibook-20040701 b/app-laptop/omnibook/files/digest-omnibook-20040701
new file mode 100644 (file)
index 0000000..7d5ebeb
--- /dev/null
@@ -0,0 +1 @@
+MD5 4e2214c4dba3db72463795c6bbfeacfe omnibook-2004-07-01.tar.gz 50930
diff --git a/app-laptop/omnibook/files/digest-omnibook-20040916 b/app-laptop/omnibook/files/digest-omnibook-20040916
new file mode 100644 (file)
index 0000000..250a048
--- /dev/null
@@ -0,0 +1 @@
+MD5 ed0e2a0ec4f1dac6e457514ae79b5a25 omnibook-2004-09-16.tar.gz 52158
diff --git a/app-laptop/omnibook/metadata.xml b/app-laptop/omnibook/metadata.xml
new file mode 100644 (file)
index 0000000..c2d0423
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>mobile</herd>
+  <maintainer>
+    <email>genstef@gentoo.org</email>
+    <name>Stefan Schweizer</name>
+  </maintainer>
+</pkgmetadata>
diff --git a/app-laptop/omnibook/omnibook-20021016.ebuild b/app-laptop/omnibook/omnibook-20021016.ebuild
new file mode 100644 (file)
index 0000000..057601c
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20021016.ebuild,v 1.1 2004/11/15 19:31:46 genstef Exp $
+
+MY_PV="2002-10-16"
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Linux kernel module for HP Omnibook support"
+HOMEPAGE="http://www.sourceforge.net/projects/omke"
+SRC_URI="mirror://sourceforge/omke/omnibook-2002-10-16.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="virtual/kernel"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+       emake CC="gcc ${CFLAGS}" || die
+}
+
+src_install() {
+       make MODDIR="${D}/lib/modules" DEPMOD="" install
+       dodoc ${S}/doc/*
+}
diff --git a/app-laptop/omnibook/omnibook-20030403.ebuild b/app-laptop/omnibook/omnibook-20030403.ebuild
new file mode 100644 (file)
index 0000000..dcca560
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20030403.ebuild,v 1.1 2004/11/15 19:31:46 genstef Exp $
+
+MY_PV="2003-04-03"
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Linux kernel module for HP Omnibook support"
+HOMEPAGE="http://www.sourceforge.net/projects/omke"
+SRC_URI="mirror://sourceforge/omke/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="virtual/kernel"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+       emake CC="gcc ${CFLAGS}" || die
+}
+
+src_install() {
+       # The driver goes into the standard modules location
+       # Not the make install location, because that way it would get deleted
+       # when the user did a make modules_install in the Kernel tree
+
+       insinto /lib/modules/${KV}/char
+       doins omnibook.o
+
+       dodoc ${S}/doc/*
+
+}
+
+pkg_postinst() {
+       echo "running depmod...."
+       depmod -aq || die
+}
diff --git a/app-laptop/omnibook/omnibook-20030828.ebuild b/app-laptop/omnibook/omnibook-20030828.ebuild
new file mode 100644 (file)
index 0000000..526a981
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20030828.ebuild,v 1.1 2004/11/15 19:31:46 genstef Exp $
+
+MY_PV="2003-08-28"
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Linux kernel module for HP Omnibook support"
+HOMEPAGE="http://www.sourceforge.net/projects/omke"
+SRC_URI="mirror://sourceforge/omke/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="virtual/kernel"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+       emake CC="gcc ${CFLAGS}" || die
+}
+
+src_install() {
+       # The driver goes into the standard modules location
+       # Not the make install location, because that way it would get deleted
+       # when the user did a make modules_install in the Kernel tree
+
+       insinto /lib/modules/${KV}/char
+       doins omnibook.o
+
+       dodoc ${S}/doc/*
+
+}
+
+pkg_postinst() {
+       echo "running depmod...."
+       depmod -aq || die
+}
diff --git a/app-laptop/omnibook/omnibook-20040701.ebuild b/app-laptop/omnibook/omnibook-20040701.ebuild
new file mode 100644 (file)
index 0000000..05f1e73
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20040701.ebuild,v 1.1 2004/11/15 19:31:46 genstef Exp $
+
+inherit toolchain-funcs
+
+MY_PV="2004-07-01"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Linux kernel module for HP Omnibook support"
+HOMEPAGE="http://www.sourceforge.net/projects/omke"
+SRC_URI="mirror://sourceforge/omke/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="${KV}"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/kernel"
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+       unset ARCH
+       emake CC="$(tc-getCC) ${CFLAGS}" KSRC='/usr/src/linux' KERNEL="$(echo ${KV} | cut -c 1-3)" || die
+}
+
+src_install() {
+       # The driver goes into the standard modules location
+       # Not the make install location, because that way it would get deleted
+       # when the user did a make modules_install in the Kernel tree
+
+       insinto /lib/modules/${KV}/char
+       doins omnibook.o || die
+
+       dodoc ${S}/doc/*
+}
diff --git a/app-laptop/omnibook/omnibook-20040916.ebuild b/app-laptop/omnibook/omnibook-20040916.ebuild
new file mode 100644 (file)
index 0000000..d8e3710
--- /dev/null
@@ -0,0 +1,64 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-laptop/omnibook/omnibook-20040916.ebuild,v 1.1 2004/11/15 19:31:46 genstef Exp $
+
+inherit kernel-mod
+
+MY_P="${PN}-${PV:0:4}-${PV:4:2}-${PV:6:2}"
+
+DESCRIPTION="Linux kernel module for HP Omnibook support"
+HOMEPAGE="http://www.sourceforge.net/projects/omke"
+SRC_URI="mirror://sourceforge/omke/${MY_P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="virtual/kernel"
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+       kernel-mod_check_modules_supported
+}
+
+src_compile() {
+       # http://marc.theaimsgroup.com/?l=gentoo-dev&m=109672618708314&w=2
+       kernel-mod_getversion
+       if [ ${KV_MINOR} -gt 5 ] && [ ${KV_PATCH} -gt 5 ]
+       then
+               sed -i 's:SUBDIRS=:M=:g' Makefile
+       fi
+
+       unset ARCH
+       emake KSRC="${ROOT}/usr/src/linux" KERNEL="$(echo ${KV} | cut -c 1-3)" || die "emake failed"
+
+       cd misc/obtest
+       emake || die "make obtest failed"
+}
+
+src_install() {
+       dosbin misc/obtest/obtest
+
+       # The driver goes into the standard modules location
+       # Not the make install location, because that way it would get deleted
+       # when the user did a make modules_install in the Kernel tree
+
+       insinto /lib/modules/${KV}/char
+       if kernel-mod_is_2_6_kernel; then
+               doins omnibook.ko
+       else
+               doins omnibook.o
+       fi
+
+       dodoc doc/*
+       docinto misc
+       dodoc misc/*
+       docinto hotkeys
+       dodoc misc/hotkeys/*
+}
+
+pkg_postinst() {
+       einfo "Checking kernel module dependencies"
+       test -r "${ROOT}/usr/src/linux/System.map" && \
+               depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV}
+}