/[gentoo-x86]/net-misc/asterisk-addons/asterisk-addons-1.6.1.1.ebuild
Gentoo

Contents of /net-misc/asterisk-addons/asterisk-addons-1.6.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Feb 19 15:48:12 2010 UTC (9 years, 9 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump to 1.6.2 branch. Clarify 1.6.1 branch dependencies. Remove old ebuild.
(Portage version: 2.1.7.17/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-addons/asterisk-addons-1.6.1.1.ebuild,v 1.2 2009/09/11 16:41:57 chainsaw Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Asterisk: A Modular Open Source PBX System"
8 HOMEPAGE="http://www.asterisk.org/"
9 SRC_URI="http://downloads.digium.com/pub/asterisk/releases/${P}.tar.gz"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~amd64 ~x86"
13
14 IUSE="bluetooth elibc_uclibc mysql"
15
16 RDEPEND=">=net-misc/asterisk-1.6.1.6"
17
18 src_unpack() {
19 unpack ${A}
20 cd "${S}"
21
22 epatch "${FILESDIR}/${P}-parallel-make.diff"
23
24 # forward-ported patch from jaervosz for uclibc
25 if use elibc_uclibc; then
26 epatch "${FILESDIR}/${P}-uclibc.diff"
27 fi
28 }
29
30 src_compile() {
31 econf \
32 --libdir="/usr/$(get_libdir)" \
33 --localstatedir="/var" \
34 $(use_with bluetooth) \
35 $(use_with mysql mysqlclient) \
36 || die "Failed to configure"
37
38 emake || die "Failed to compile"
39 }
40
41 src_install() {
42 dodoc configs/*
43 emake DESTDIR="${D}" install || die "Failed to install"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20