blob: 54e2b7d34207ecc2e85de4ff5d1d791ea121c8ef (
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
45
46
47
48
49
50
51
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/capisuite/capisuite-0.4.3.ebuild,v 1.3 2004/04/27 21:30:44 agriffis Exp $
inherit eutils
DESCRIPTION="patch management script"
HOMEPAGE="http://www.capisuite.de/capisuite/"
SRC_URI="http://www.capisuite.de/capisuite/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="net-dialup/capi4k-utils
dev-lang/python"
RDEPEND="sys-devel/patch
media-sound/sox
media-libs/tiff
virtual/ghostscript"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.patch
}
src_compile() {
myconf="--localstatedir=/var \
--with-docdir=/usr/share/doc/${P}"
econf ${myconf} || die "econf failed."
emake DESTDIR=${D} || die "parallel make failed."
}
src_install() {
make DESTDIR=${D} install || die "install failed."
exeinto /etc/init.d
doexe ${FILESDIR}/capisuite
dodoc AUTHORS COPYING INSTALL NEWS README TODO
}
|