Browse files

e4rat: initial commit

  • Loading branch information...
1 parent e179d39 commit 0517d63ff3c2401cd1cd3e593728f187c579c3fc @Barthalion committed Apr 18, 2011
Showing with 41 additions and 0 deletions.
  1. +2 −0 sys-apps/e4rat/Manifest
  2. +39 −0 sys-apps/e4rat/e4rat-0.2.1.ebuild
View
2 sys-apps/e4rat/Manifest
@@ -0,0 +1,2 @@
+DIST e4rat_0.2.1_src.tar.gz 71943 RMD160 d65c48e7717ec84a219a05fcfb5bd62f8034b8e8 SHA1 e93a850ca068d9977dabfa79c2a91861a51fdbfb SHA256 c509f165eff317f80f5d13d7b370514c457df4542ff3b31bee4c26f97ce89769
+EBUILD e4rat-0.2.1.ebuild 939 RMD160 b947b2c58639084b6dfd4d262d8bde78bd46ef95 SHA1 ec1bb9940a615b735065f9989b601bbdd99266ba SHA256 8bccaf2a4ab091e6bee98e589c9b73c8d523dfd37c8e8dd2e08f37dd50d010ba
View
39 sys-apps/e4rat/e4rat-0.2.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+DESCRIPTION="A toolset to accelerate the boot process as well as application startups"
+HOMEPAGE="http://e4rat.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${PV}/${PN}_${PV}_src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-util/cmake
+ ${RDEPEND}"
+RDEPEND="dev-lang/perl
+ >=dev-libs/boost-1.41
+ sys-process/audit
+ sys-fs/e2fsprogs"
+
+pkg_setup() {
+ unset LDFLAGS
+}
+
+src_compile() {
+ cmake . -DCMAKE_BUILD_TYPE=release || die 'cmake failed'
+ emake || die 'emake failed'
+}
+src_install() {
+ emake DESTDIR="${D}" install || die 'emake install failed'
+ dodir /var/lib/${PN} || die 'dodir failed'
+}
+
+pkg_postinst() {
+ ewarn "You must use Linux-2.6.31 or newer version."
+ einfo "You should visit http://e4rat.sourceforge.net/wiki/index.php/Main_Page#Getting_it_to_work"
+}

0 comments on commit 0517d63

Please sign in to comment.