blob: 5cfe7983516f31f11493b542dc65f58db0b96584 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/dbhub/dbhub-0.399.ebuild,v 1.3 2007/02/06 07:02:46 corsair Exp $
inherit eutils
DESCRIPTION="hub software for Direct Connect, fork of opendchub"
HOMEPAGE="http://dbhub.ir.pl/"
SRC_URI="http://mieszkancy.ds.pg.gda.pl/~centurion/darkbot/src/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc64 ~x86"
IUSE=""
DEPEND="dev-lang/perl"
src_unpack() {
unpack ${A}
mv ${P}-dev* ${P}
cd "${S}"
epatch ${FILESDIR}/dbhub-gentoo.patch
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
exeinto /usr/bin/
doexe "${FILESDIR}"/dbhub_setup.sh
dodir /usr/share/dbhub/scripts
insinto /usr/share/dbhub/scripts
doins Samplescripts/*
dodoc Documentation/*
}
pkg_postinst() {
einfo
einfo "To set up perl scripts for dbhub to use, please run"
einfo "dbhub_setup.sh as the user you will be using dbhub as."
einfo
}
|