diff options
author | Burak Sezer <bburaksezer@gmail.com> | 2011-04-10 19:25:57 +0300 |
---|---|---|
committer | Burak Sezer <bburaksezer@gmail.com> | 2011-04-10 19:25:57 +0300 |
commit | 53718aeeb53d676a154a976435926168153dc32c (patch) | |
tree | 000bc5e498b613074f72118801d7c28154169fc0 | |
parent | new category: sys-apps (diff) | |
download | purak-53718aeeb53d676a154a976435926168153dc32c.tar.gz purak-53718aeeb53d676a154a976435926168153dc32c.tar.bz2 purak-53718aeeb53d676a154a976435926168153dc32c.zip |
new package: e4rat
-rw-r--r-- | sys-apps/e4rat/Manifest | 2 | ||||
-rw-r--r-- | sys-apps/e4rat/e4rat-0.2.ebuild | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/sys-apps/e4rat/Manifest b/sys-apps/e4rat/Manifest new file mode 100644 index 0000000..16cecaf --- /dev/null +++ b/sys-apps/e4rat/Manifest @@ -0,0 +1,2 @@ +DIST e4rat_0.2_src.tar.gz 71420 RMD160 d4a44f6cd0516b80768f24c913410597d3a61374 SHA1 80cd8194639d4c295b0298f63f707d18ff95fd28 SHA256 e494ca2536b4719ddc76306c17e0493e9c8b9b46e826ddd1a15d640bc9bbc38a +EBUILD e4rat-0.2.ebuild 913 RMD160 a5003456a3cd35da16dd68a1896b87b3a4a617f2 SHA1 3df0453ec71d1afd8172b8ddb11d9aa9f31b06ad SHA256 ce535ffb222aaa8825e11c959670eb811b90317eb59124e636a20f86ea20c5a4 diff --git a/sys-apps/e4rat/e4rat-0.2.ebuild b/sys-apps/e4rat/e4rat-0.2.ebuild new file mode 100644 index 0000000..cf26058 --- /dev/null +++ b/sys-apps/e4rat/e4rat-0.2.ebuild @@ -0,0 +1,38 @@ +# 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="~x86" +IUSE="" + +DEPEND="dev-util/cmake + ${RDEPEND}" +RDEPEND=">=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" +} |