--- /dev/null
+AUX cmake_mkdir_violation_fix.patch 309 RMD160 ec3fed01c4cacac153550f1f945d0d318fc76c74 SHA1 169689523adef17eed31e588cef39f1a0a8c8a68 SHA256 2d96ad34945f443e4478578d6c9c4ea1ca8614f4d1a153ecda0d3592aa64a607
+DIST e4rat-0.1.5-src.tar.gz 71129 RMD160 adf4ba1ef754b6c4e918bae4786b849590500b1f SHA1 fe226b9d0cbc726ecc700d31eb9d3343a9fb41d7 SHA256 e382a4b79aebff8a87d9203b18b7eec065ba1982a9b137bd794249061cb65ec8
+EBUILD e4rat-0.1.5.ebuild 686 RMD160 7e3dd5711c15b5edca4e04988f0f96bda7a28109 SHA1 f25693a37ffed5a3f7c23209b01e5f66da00614e SHA256 c0120a5855be7d2eec45cf2e451a951a2054e12bd9c37b5dbd090be3ddd17b23
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit cmake-utils flag-o-matic
+
+DESCRIPTION="Toolset to accelerate the boot process and application startup"
+HOMEPAGE="http://e4rat.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ >=dev-libs/boost-1.41
+ sys-fs/e2fsprogs
+ sys-process/audit"
+
+RDEPEND="${DEPEND}"
+
+CMAKE_IN_SOURCE_BUILD=1
+PATCHES="${FILESDIR}/cmake_mkdir_violation_fix.patch"
+
+src_compile() {
+ filter-ldflags "-Wl,--as-needed"
+ cmake-utils_src_compile
+}
+
+pkg_preinst() {
+ dodir /var/lib/e4rat
+}
--- /dev/null
+--- src/CMakeLists.txt 2011-04-01 05:19:13.000000000 -0400
++++ src/CMakeLists.txt 2011-04-08 23:46:18.785068511 -0400
+@@ -127,5 +127,3 @@
+ RUNTIME DESTINATION "sbin"
+ LIBRARY DESTINATION "lib"
+ ARCHIVE DESTINATION "lib")
+-
+-INSTALL(CODE "MAKE_DIRECTORY(\"/var/lib/${PROJECT_NAME}\")")
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>maintainer-wanted@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>