/[gentoo-x86]/net-libs/ortp/ortp-0.20.0.ebuild
Gentoo

Contents of /net-libs/ortp/ortp-0.20.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Jun 9 12:35:53 2015 UTC (5 years, 5 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
Remove old.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/ortp/ortp-0.20.0.ebuild,v 1.8 2013/04/02 20:56:52 ago Exp $
4
5 EAPI=5
6
7 inherit eutils
8
9 DESCRIPTION="Open Real-time Transport Protocol (RTP, RFC3550) stack"
10 HOMEPAGE="http://www.linphone.org/"
11 SRC_URI="mirror://nongnu/linphone/${PN}/sources/${P}.tar.gz"
12
13 LICENSE="LGPL-2.1"
14 SLOT="0"
15 KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
16 IUSE="debug doc examples ipv6 minimal srtp ssl" # zrtp"
17
18 # Note:
19 # This package supposedly requires libzrtpcpp-2.0.0
20 # but it is incompatible with its API...
21
22 RDEPEND="srtp? ( net-libs/libsrtp )
23 ssl? ( dev-libs/openssl )"
24 # zrtp? ( >=net-libs/libzrtpcpp-2.0.0 )"
25 DEPEND="${RDEPEND}
26 doc? ( app-doc/doxygen )
27 virtual/pkgconfig"
28
29 #REQUIRED_USE="zrtp? ( srtp )"
30
31 src_prepare() {
32 # ${P} is added after ${docdir}
33 if use doc; then
34 sed -i -e 's/$(docdir)\/$(PACKAGE)-$(VERSION)/$(docdir)/' Makefile.in \
35 || die "patching Makefile.in failed"
36 fi
37 }
38
39 src_configure() {
40 local myeconfargs=(
41 # memcheck is for HP-UX only
42 --disable-memcheck
43 # mode64bit adds +DA2.0W +DS2.0 CFLAGS wich are needed for HP-UX
44 --disable-mode64bit
45 # strict adds -Werror, don't want it
46 --disable-strict
47 # they seriously failed to understand AC_ARG_ENABLE...
48 --disable-tests_enabled
49 --enable-fast-install
50 --enable-libtool-lock
51
52 $(use_enable debug)
53 $(use_enable ipv6)
54 $(use_enable minimal perf)
55 $(use_enable ssl ssl-hmac)
56 # $(use_enable zrtp)
57 --disable-zrtp
58
59 "--with-srtp=$(usex srtp "${EPREFIX}"/usr none)"
60 $(use doc || echo ac_cv_path_DOXYGEN=false)
61 )
62
63 econf "${myeconfargs[@]}"
64 }
65
66 src_install() {
67 emake DESTDIR="${D}" pkgdocdir="${EPREFIX}"/usr/share/doc/${PF} \
68 install
69 dodoc AUTHORS ChangeLog NEWS README TODO
70
71 prune_libtool_files
72
73 if use examples; then
74 insinto /usr/share/doc/${PF}/examples
75 doins src/tests/*.c
76 fi
77 }

  ViewVC Help
Powered by ViewVC 1.1.20