summaryrefslogtreecommitdiff
blob: 12024658d82f0e4f7f5f209dbcb12687fc64d74e (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="3"

inherit eutils toolchain-funcs

DESCRIPTION="Read a file over HTTP as a block device."
HOMEPAGE="http://patraulea.com/nbd-http/"
SRC_URI="http://patraulea.com/${PN}/src/${P}.tgz"

LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_compile() {
	emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die
}

src_install() {
	dodoc ChangeLog README || die
	dobin ${PN} || die
}