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" +} +