blob: 9016de748e8cca7773985f501f0335911140547a (
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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.1.5-r1.ebuild,v 1.4 2012/11/28 20:25:33 ranger Exp $
EAPI=4
inherit eutils
DESCRIPTION="A suite of tools for thin provisioning on Linux."
HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools"
MY_P="${PN}-v${PV}"
SRC_URI="https://github.com/downloads/jthornber/thin-provisioning-tools/${MY_P}.tar.bz2"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="dev-libs/expat"
DEPEND="${RDEPEND}
dev-libs/boost"
src_prepare() {
epatch "${FILESDIR}"/${P}-LDFLAGS.patch
}
src_configure() {
econf \
--prefix="${EPREFIX}/" \
--bindir="${EPREFIX}/sbin" \
--with-optimisation=""
}
src_install() {
emake install DESTDIR="${D}" MANDIR=/usr/share/man
}
|