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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Nov 6 20:55:32 2012 UTC (23 months, 1 week ago) by hwoarang
Branch: MAIN
Apply patch to fix building with boost >= 1.50. Bug #425422, Thanks to Olivier Huber <oli.huber@gmail.com>

(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)

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.3 2012/10/17 03:49:02 phajdan.jr 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 "${FILESDIR}"/${P}-boostfsv3.patch
30 )
31
32 pkg_setup() {
33 check_extra_config
34 }
35
36 src_install() {
37 cmake-utils_src_install
38 # relocate binaries to /sbin. If someone knows of a better way to do it
39 # please do tell me
40 dodir sbin
41 find "${D}"/usr/sbin -type f -exec mv {} "${D}"/sbin/. \; \
42 || die
43 }
44
45 pkg_postinst() {
46 elog
47 elog "Please consult the upstream wiki if you need help"
48 elog "configuring your system"
49 elog "http://e4rat.sourceforge.net/wiki/index.php/Main_Page"
50 elog
51 if has_version sys-apps/preload; then
52 elog "It appears you have sys-apps/preload installed. This may"
53 elog "has negative effects on ${PN}. You may want to disable preload"
54 elog "when using ${PN}."
55 elog "http://e4rat.sourceforge.net/wiki/index.php/Main_Page#Debian.2FUbuntu"
56 fi
57 }

  ViewVC Help
Powered by ViewVC 1.1.20