/[gentoo-x86]/sys-fs/e4rat/e4rat-0.2.3.ebuild
Gentoo

Contents of /sys-fs/e4rat/e4rat-0.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Oct 17 03:49:02 2012 UTC (2 years ago) by phajdan.jr
Branch: MAIN
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #436684

(Portage version: 2.1.11.9/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-fs/e4rat/e4rat-0.2.3.ebuild,v 1.2 2012/10/07 18:55:45 ago Exp $
4
5 EAPI=4
6
7 inherit cmake-utils linux-info
8
9 DESCRIPTION="Toolset to accelerate the boot process and application startup"
10 HOMEPAGE="http://e4rat.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P/-/_}_src.tar.gz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 DEPEND="dev-lang/perl
19 >=dev-libs/boost-1.42
20 sys-fs/e2fsprogs
21 sys-process/audit"
22 RDEPEND="${DEPEND}"
23
24 CONFIG_CHECK="~AUDITSYSCALL"
25
26 PATCHES=(
27 "${FILESDIR}"/${PN}-0.2.2-shared-build.patch
28 "${FILESDIR}"/${PN}-0.2.2-libdir.patch
29 )
30
31 pkg_setup() {
32 check_extra_config
33 }
34
35 src_install() {
36 cmake-utils_src_install
37 # relocate binaries to /sbin. If someone knows of a better way to do it
38 # please do tell me
39 dodir sbin
40 find "${D}"/usr/sbin -type f -exec mv {} "${D}"/sbin/. \; \
41 || die
42 }
43
44 pkg_postinst() {
45 elog
46 elog "Please consult the upstream wiki if you need help"
47 elog "configuring your system"
48 elog "http://e4rat.sourceforge.net/wiki/index.php/Main_Page"
49 elog
50 if has_version sys-apps/preload; then
51 elog "It appears you have sys-apps/preload installed. This may"
52 elog "has negative effects on ${PN}. You may want to disable preload"
53 elog "when using ${PN}."
54 elog "http://e4rat.sourceforge.net/wiki/index.php/Main_Page#Debian.2FUbuntu"
55 fi
56 }

  ViewVC Help
Powered by ViewVC 1.1.20