summaryrefslogtreecommitdiff
blob: 8a7f03d2a56027193135a8e0a7f7265a7e7fdcc5 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/libeatmydata/libeatmydata-105-r1.ebuild,v 1.1 2015/05/28 20:22:55 slyfox Exp $

EAPI=5
inherit autotools-multilib eutils

DESCRIPTION="LD_PRELOAD hack to convert sync()/msync() and the like to NO-OP"
HOMEPAGE="https://launchpad.net/libeatmydata/"
SRC_URI="https://launchpad.net/${PN}/trunk/release-${PV}/+download/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

# sandbox fools LD_PRELOAD and libeatmydata does not get control
# bug/feature in sandbox?
#DEPEND="test? ( dev-util/strace )"
RESTRICT=test

DEPEND="sys-apps/sed"
RDEPEND=""

PATCHES=(
	"${FILESDIR}"/${PN}-105-undpkg.patch
)

multilib_src_install_all() {
	prune_libtool_files --all

	dodoc AUTHORS README
}