summaryrefslogtreecommitdiff
blob: 3f17210ba53b992b342475f28aa5a78a69583ebc (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/jud/jud-0.5.ebuild,v 1.8 2004/06/23 01:16:54 humpback Exp $

inherit eutils

DESCRIPTION="User Directory for jabberd"
HOMEPAGE="http://jud.jabberstudio.org/"
SRC_URI="http://jud.jabberstudio.org/${P}.tar.gz"
IUSE=""
LICENSE="GPL-2"
KEYWORDS="x86 ~sparc"
SLOT="0"

DEPEND=">=net-im/jabberd-1.4.3"
S=${WORKDIR}/${PN}-ansi-c

src_unpack() {
		unpack ${A}
		cd ${S}
		epatch ${FILESDIR}/jud-makefile.patch
}

src_compile() {
		emake || die
}

src_install() {
		 dodir /etc/jabber /usr/lib/jabberd
		 insinto /usr/lib/jabberd
		 doins jud.so
		 insinto /etc/jabber
		 dodoc README ChangeLog ${FILESDIR}/README.Gentoo
}

pkg_postinst() {
	einfo
	einfo "Please read /usr/share/doc/${P}/README.Gentoo.gz"
	einfo
}