add .ebuild

This commit is contained in:
root 2010-01-26 19:16:28 +03:00
parent fbaac98483
commit f263534aaf

25
doc/uhub.ebuild Normal file
View File

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