]> gitweb.michael.orlitzky.com - mjo-overlay.git/commitdiff
Add an ebuild for e4rat.
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 9 Apr 2011 04:26:07 +0000 (00:26 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 9 Apr 2011 04:26:07 +0000 (00:26 -0400)
sys-fs/e4rat/Manifest [new file with mode: 0644]
sys-fs/e4rat/e4rat-0.1.5.ebuild [new file with mode: 0644]
sys-fs/e4rat/files/cmake_mkdir_violation_fix.patch [new file with mode: 0644]
sys-fs/e4rat/metadata.xml [new file with mode: 0644]

diff --git a/sys-fs/e4rat/Manifest b/sys-fs/e4rat/Manifest
new file mode 100644 (file)
index 0000000..d7ec8e9
--- /dev/null
@@ -0,0 +1,3 @@
+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
diff --git a/sys-fs/e4rat/e4rat-0.1.5.ebuild b/sys-fs/e4rat/e4rat-0.1.5.ebuild
new file mode 100644 (file)
index 0000000..de2817e
--- /dev/null
@@ -0,0 +1,33 @@
+# 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
+}
diff --git a/sys-fs/e4rat/files/cmake_mkdir_violation_fix.patch b/sys-fs/e4rat/files/cmake_mkdir_violation_fix.patch
new file mode 100644 (file)
index 0000000..4ecb81f
--- /dev/null
@@ -0,0 +1,8 @@
+--- 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}\")")
diff --git a/sys-fs/e4rat/metadata.xml b/sys-fs/e4rat/metadata.xml
new file mode 100644 (file)
index 0000000..7ee8acd
--- /dev/null
@@ -0,0 +1,8 @@
+<?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>