From 5afa91d413d5d3fb03ef24b2a8b5dc52b57e5b44 Mon Sep 17 00:00:00 2001 From: Tony Vroon Date: Thu, 13 May 2010 11:29:44 +0000 Subject: Initial commit. Ebuild based on the submission by Eduardo Frazão in bug #315189. (Portage version: 2.1.8.3/cvs/Linux x86_64) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- net-misc/openr2/ChangeLog | 11 +++++++++ .../openr2/files/1.3.0-respect-user-cflags.patch | 15 ++++++++++++ net-misc/openr2/metadata.xml | 9 ++++++++ net-misc/openr2/openr2-1.3.0.ebuild | 27 ++++++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 net-misc/openr2/ChangeLog create mode 100644 net-misc/openr2/files/1.3.0-respect-user-cflags.patch create mode 100644 net-misc/openr2/metadata.xml create mode 100644 net-misc/openr2/openr2-1.3.0.ebuild (limited to 'net-misc/openr2') diff --git a/net-misc/openr2/ChangeLog b/net-misc/openr2/ChangeLog new file mode 100644 index 000000000000..c8d8b6d5f9bc --- /dev/null +++ b/net-misc/openr2/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-misc/openr2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/openr2/ChangeLog,v 1.1 2010/05/13 11:29:44 chainsaw Exp $ + +*openr2-1.3.0 (13 May 2010) + + 13 May 2010; +files/1.3.0-respect-user-cflags.patch, + +openr2-1.3.0.ebuild, +metadata.xml: + Initial commit. Ebuild based on the submission by Eduardo Frazão in bug + #315189. + diff --git a/net-misc/openr2/files/1.3.0-respect-user-cflags.patch b/net-misc/openr2/files/1.3.0-respect-user-cflags.patch new file mode 100644 index 000000000000..7a8f23f3f29c --- /dev/null +++ b/net-misc/openr2/files/1.3.0-respect-user-cflags.patch @@ -0,0 +1,15 @@ +diff -uNr openr2-1.3.0.ORIG//configure.in openr2-1.3.0/configure.in +--- openr2-1.3.0.ORIG//configure.in 2010-05-13 11:59:14.000000000 +0100 ++++ openr2-1.3.0/configure.in 2010-05-13 11:59:35.000000000 +0100 +@@ -25,11 +25,6 @@ + AC_CONFIG_HEADERS(config.h) + AM_INIT_AUTOMAKE + +-# let's default to compile with debugging information +-# most users will not even care about it +-CFLAGS='-ggdb3 -O0' +-CXXFLAGS='-ggdb3 -O0' +- + AC_PROG_CC + AC_PROG_LIBTOOL + AC_LANG([C]) diff --git a/net-misc/openr2/metadata.xml b/net-misc/openr2/metadata.xml new file mode 100644 index 000000000000..66a09d837718 --- /dev/null +++ b/net-misc/openr2/metadata.xml @@ -0,0 +1,9 @@ + + + + voip + + chainsaw@gentoo.org + Tony Vroon + + diff --git a/net-misc/openr2/openr2-1.3.0.ebuild b/net-misc/openr2/openr2-1.3.0.ebuild new file mode 100644 index 000000000000..79f2b0d8379b --- /dev/null +++ b/net-misc/openr2/openr2-1.3.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/openr2/openr2-1.3.0.ebuild,v 1.1 2010/05/13 11:29:44 chainsaw Exp $ + +EAPI=3 +inherit autotools base + +DESCRIPTION="An open implementation of the MFC/R2 telephony signaling protocol." +HOMEPAGE="http://libopenr2.org/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="net-misc/dahdi" +PATCHES=( "${FILESDIR}/${PV}-respect-user-cflags.patch" ) + +src_prepare() { + base_src_prepare + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die +} -- cgit v1.2.3-65-gdbad