From f263534aafde732abe6f3efabd7d692fad9e98cd Mon Sep 17 00:00:00 2001 From: root Date: Tue, 26 Jan 2010 19:16:28 +0300 Subject: [PATCH] add .ebuild --- doc/uhub.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 doc/uhub.ebuild diff --git a/doc/uhub.ebuild b/doc/uhub.ebuild new file mode 100644 index 0000000..13db58e --- /dev/null +++ b/doc/uhub.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ +EAPI="2" + +DESCRIPTION="High performance ADC hub" +HOMEPAGE="http://www.uhub.org/" +SRC_URI="http://www.extatic.org/downloads/uhub/${P}-src.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+ssl" + +DEPEND=">=dev-libs/libevent-1.3 +=dev-lang/perl-5* +ssl? ( >=dev-libs/openssl-0.9.8 ) +" +RDEPEND="${DEPEND}" +src_install() { + mkdir -p ${D}/usr/bin + mkdir -p ${D}/etc/uhub + emake DESTDIR="${D}" UHUB_PREFIX="${D}/usr" install || die "install failed" +} +