/[gentoo-x86]/net-misc/partysip/partysip-2.1.1.ebuild
Gentoo

Contents of /net-misc/partysip/partysip-2.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Jul 17 22:20:22 2005 UTC (14 years, 6 months ago) by stkn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Version bump and removed old non-working version (#92831).
(Portage version: 2.0.51.22-r1)

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/partysip/partysip-2.1.1.ebuild,v 1.8 2004/10/23 02:18:38 weeve Exp $
4
5 #IUSE="gdbm berkdb debug"
6 IUSE="debug"
7
8 inherit eutils
9
10 DESCRIPTION="Modular and extensible SIP proxy"
11 HOMEPAGE="http://savannah.nongnu.org/projects/partysip/"
12 SRC_URI="http://osip.atosc.org/download/partysip/${P}.tar.gz"
13
14 # disable automatic striping of libs and executables
15 RESTRICT="nostrip"
16
17 SLOT="0"
18 LICENSE="LGPL-2" # not 100% about -2, but core is LGPL
19 KEYWORDS="~x86 ~sparc"
20
21 DEPEND="virtual/libc
22 >=net-libs/libosip-2.0.0"
23 # gdbm? ( >=sys-libs/gdbm-1.8.0 )
24 # berkdb? ( >=sys-libs/db-4.1.20 )"
25
26 src_unpack() {
27 unpack ${A}
28
29 cd ${S}
30 epatch ${FILESDIR}/partysip-2.1.1-libosip2fix.diff
31 }
32
33 src_compile() {
34 local myconf
35
36 use debug \
37 && myconf="${myconf} --enable-debug --enable-trace" \
38 || myconf="${myconf} --disable-debug --disable-trace"
39
40 # preference for berkdb...
41 # (doesn't work atm, looks like it's always trying to use ndbm)
42 # if use berkdb; then
43 # myconf="${myconf} --with-db=db"
44 # else
45 # use gdbm \
46 # && myconf="${myconf} --with-db=gdbm"
47 # fi
48
49 econf \
50 --enable-semaphore \
51 --enable-sysv \
52 ${myconf} || die
53 emake || die
54 }
55
56 src_install () {
57 emake DESTDIR=${D} install || die
58
59 insinto /etc/partysip
60 doins conf/partysip.conf
61
62 exeinto /etc/init.d
63 newexe ${FILESDIR}/partysip.rc6 partysip
64
65 insinto /etc/conf.d
66 newins ${FILESDIR}/partysip.confd partysip
67
68 dodoc README ChangeLog COPYING COPYING-2 TODO AUTHORS INSTALL NEWS
69 }

  ViewVC Help
Powered by ViewVC 1.1.20