# ChangeLog for app-emulation/kqemu
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/kqemu/ChangeLog,v 1.4 2006/03/29 08:02:54 chriswhite Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/kqemu/ChangeLog,v 1.5 2006/03/29 10:46:51 lu_zero Exp $
+
+*kqemu-1.3.0_pre5 (29 Mar 2006)
+
+ 29 Mar 2006; Luca Barbato <lu_zero@gentoo.org> +kqemu-1.3.0_pre5.ebuild:
+ New kqemu, thanks to Sven <skoehler@upb.de>
29 Mar 2006; Chris White <chriswhite@gentoo.org> kqemu-0.7.2.ebuild:
x86 stable for kqemu-0.7.2 bug #123972.
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 9fffb30ae4de9f693ffaf47d40d7a2c3 ChangeLog 675
+MD5 b837d3478022402a9a1f09409d805157 ChangeLog 827
+RMD160 d4f93e4cde6bae3ceb12bca101dadd475bfa629a ChangeLog 827
+SHA256 3f2fb442198125e4c313b5af8e61878fbde61184ee8de36f37ae5701f98e011e ChangeLog 827
MD5 22d8bd748c6ab7d096d531da636bf5da files/digest-kqemu-0.7.2 125
+RMD160 ecc8f676a9865c7099263619c280af24bdd6e6b9 files/digest-kqemu-0.7.2 125
+SHA256 1485b96ba066b0f14fb7c6fe6988e7abf7a3de56e19a7108cf039c5adf09623a files/digest-kqemu-0.7.2 125
+MD5 7233a99c9a7842fd87d0d8f6d372aac0 files/digest-kqemu-1.3.0_pre5 247
+RMD160 7817cc90713d7c23efb3bbb76da39e45e138a802 files/digest-kqemu-1.3.0_pre5 247
+SHA256 8a721e142d22defb401e16a7280e0e055e9484fa9cf913f8aac89e59ccb6a761 files/digest-kqemu-1.3.0_pre5 247
MD5 a3bbd803fb3b182c28cf3091ee026b2b kqemu-0.7.2.ebuild 2554
+RMD160 3acda96faa2bf8437a8a91f80297658ca12f59d8 kqemu-0.7.2.ebuild 2554
+SHA256 3805d18c96a80eb547bd4c37dc47c0c1313426434063f0a86cc97a8ba22f17a6 kqemu-0.7.2.ebuild 2554
+MD5 af3f9fb50e53205a9a937a7ea5e8c783 kqemu-1.3.0_pre5.ebuild 1664
+RMD160 c735c820797b41ba5cba98640cf1eb77b5fb89f4 kqemu-1.3.0_pre5.ebuild 1664
+SHA256 828f17b356ebd2d3dcd8ca6ed14ec7d6575a8094756245bb224b86c62a0f0943 kqemu-1.3.0_pre5.ebuild 1664
MD5 898131aae735c3477ff2f9c6882f1178 metadata.xml 223
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
-
-iD8DBQFEKj9qFdQwWVoAgN4RAhwdAKDc+yCiTBiIxUmGlQP8rssR5zp/bQCfZK8u
-0+gafIkDWPTVQa296eXLsPQ=
-=fXYA
------END PGP SIGNATURE-----
+RMD160 f054e67dff10c87ea1d0b5753124445be6bd4610 metadata.xml 223
+SHA256 64a96c3c9929aec46b50a63ae1fd8c46cef4a8423f448d6f6fff09e20510c98b metadata.xml 223
--- /dev/null
+MD5 2dc13fa4645a8d7c69f0f42aabf64cf5 kqemu-1.3.0pre5.tar.gz 189395
+RMD160 cc54ac38791f543feb91285292ecf7ca333d9918 kqemu-1.3.0pre5.tar.gz 189395
+SHA256 2f2983393a4e007741685ef4e889fc91fe7619a038fc43998d414e441f5813a7 kqemu-1.3.0pre5.tar.gz 189395
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/kqemu/kqemu-1.3.0_pre5.ebuild,v 1.1 2006/03/29 10:46:51 lu_zero Exp $
+
+inherit eutils flag-o-matic linux-mod toolchain-funcs
+
+MY_PV=${PV/_/}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Multi-platform & multi-targets cpu emulator and dynamic translator kernel fast execution module"
+HOMEPAGE="http://fabrice.bellard.free.fr/qemu/"
+SRC_URI="http://fabrice.bellard.free.fr/qemu/${MY_P}.tar.gz"
+
+LICENSE="KQEMU"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="nostrip"
+IUSE=""
+
+S="${WORKDIR}/$MY_P"
+
+DEPEND=""
+
+pkg_setup() {
+ MODULE_NAMES="kqemu(misc:${S})"
+ linux-mod_pkg_setup
+
+ einfo "kqemu is binary module with a restricted license."
+ einfo "Please read carefully the KQEMU license"
+ einfo "and ${HOMEPAGE}qemu-accel.html"
+ einfo "if you would like to see it released under the GPL"
+}
+
+src_compile() {
+ #Let the application set its cflags
+ unset CFLAGS
+
+ # Switch off hardened tech
+ filter-flags -fpie -fstack-protector
+
+ ./configure --kernel-path="${KV_DIR}" \
+ || die "could not configure"
+
+ make
+}
+
+src_install() {
+ linux-mod_src_install
+
+ # udev rule
+ dodir /etc/udev/rules.d/
+ echo 'KERNEL="kqemu*", NAME="%k", GROUP="qemu", MODE="0660"' > ${D}/etc/udev/rules.d/48-qemu.rules
+ enewgroup qemu
+
+ # Module doc
+ dodoc ${S}/README
+ dohtml ${S}/kqemu-doc.html
+
+ # module params
+ dodir /etc/modules.d
+ echo "options kqemu major=0" > ${D}/etc/modules.d/kqemu
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ einfo "Make sure you have the kernel module loaded before running qemu"
+ einfo "and your user is in the qemu group"
+}