blob: ea816717928794bc7ac6c00c19830d4627ad2857 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Chris Houser <chouser@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/sys-apps/nbd/nbd-14.ebuild,v 1.1 2002/02/19 00:48:34 chouser Exp $
P=${P//-/.}
S=${WORKDIR}/${PN}
DESCRIPTION="Userland client/server for kernel network block device"
SRC_URI="http://atrey.karlin.mff.cuni.cz/~pavel/nbd/${P}.tar.gz"
HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~pavel/nbd/nbd.html"
DEPEND=">=sys-devel/gcc-2.95.3
>=sys-devel/make-3.79.1"
src_compile() {
./configure \
--host=${CHOST} \
--prefix=/usr || die "./configure failed"
emake || die "emake failed"
}
src_install() {
mkdir -p ${D}/usr/bin
make \
prefix=${D}/usr \
install || die "make install failed"
}
|