summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2010-05-13 11:29:44 +0000
committerTony Vroon <chainsaw@gentoo.org>2010-05-13 11:29:44 +0000
commit5afa91d413d5d3fb03ef24b2a8b5dc52b57e5b44 (patch)
treeada6712dadc26d498d06abdaaad323bfd59a26e5 /net-misc/openr2
parentx86 stable wrt bug #317141 (diff)
downloadgentoo-2-5afa91d413d5d3fb03ef24b2a8b5dc52b57e5b44.tar.gz
gentoo-2-5afa91d413d5d3fb03ef24b2a8b5dc52b57e5b44.tar.bz2
gentoo-2-5afa91d413d5d3fb03ef24b2a8b5dc52b57e5b44.zip
Initial commit. Ebuild based on the submission by Eduardo Frazão in bug #315189.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/openr2')
-rw-r--r--net-misc/openr2/ChangeLog11
-rw-r--r--net-misc/openr2/files/1.3.0-respect-user-cflags.patch15
-rw-r--r--net-misc/openr2/metadata.xml9
-rw-r--r--net-misc/openr2/openr2-1.3.0.ebuild27
4 files changed, 62 insertions, 0 deletions
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; <chainsaw@gentoo.org> +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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>voip</herd>
+ <maintainer>
+ <email>chainsaw@gentoo.org</email>
+ <name>Tony Vroon</name>
+ </maintainer>
+</pkgmetadata>
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
+}