blob: cf26058e5598934c5c9e0dcad6180b0fe0815c70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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"
}
|