/[gentoo-x86]/sys-block/nbd/nbd-3.2.ebuild
Gentoo

Contents of /sys-block/nbd/nbd-3.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations) (download)
Sun Jan 6 11:10:10 2013 UTC (4 months, 2 weeks ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +2 -2 lines
Add ~sparc, wrt bug #449220

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-block/nbd/nbd-3.2.ebuild,v 1.10 2013/01/01 14:54:51 ago Exp $
4
5 EAPI="4"
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Userland client/server for kernel network block device"
10 HOMEPAGE="http://nbd.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/nbd/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 ~sparc x86"
16 IUSE="debug zlib"
17
18 RDEPEND=">=dev-libs/glib-2.0
19 zlib? ( sys-libs/zlib )"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig"
22
23 src_configure() {
24 econf \
25 --enable-lfs \
26 --enable-syslog \
27 $(use_enable debug)
28 }
29
30 src_compile() {
31 default
32 use zlib && emake -C gznbd CC="$(tc-getCC)"
33 }
34
35 src_install() {
36 default
37 use zlib && dobin gznbd/gznbd
38 }

  ViewVC Help
Powered by ViewVC 1.1.13