blob: 0c3c525ee42bae272700ffd33c364ec858248882 (
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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/ivam2/ivam2-0.3.ebuild,v 1.1 2004/11/24 06:31:03 mrness Exp $
inherit eutils
DESCRIPTION="Automatic phone answering machine software for ISDN"
SRC_URI="http://0pointer.de/lennart/projects/ivam2/${P}.tar.gz"
HOMEPAGE="http://0pointer.de/lennart/projects/ivam2/"
KEYWORDS="~x86"
LICENSE="GPL-2"
IUSE=""
SLOT="0"
DEPEND="virtual/libc
dev-libs/liboop
>=dev-libs/libdaemon-0.4
>=dev-lang/python-2.3
net-dialup/isdn4k-utils"
src_compile() {
local myconf="--disable-lynx --disable-xmltoman --disable-gengetopt"
econf $myconf || die "econf failed"
emake || die "emake failed"
}
src_install() {
keepdir /var/spool/ivam2
make install DESTDIR=${D} || die "make install failed"
dodoc doc/{README,README.VoiceBox,TODO}
dohtml doc/*.{html,css}
exeinto /etc/init.d
newexe ${FILESDIR}/ivam2.init ivam2
}
pkg_preinst() {
enewgroup ivam || die "Problem adding ivam group"
enewuser ivam -1 /bin/false /dev/null ivam || die "Problem adding ivam user"
}
pkg_postinst() {
chown ivam:ivam /var/spool/ivam2
}
|