summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-03-10 00:19:16 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-03-10 00:19:16 +0000
commitc6a19dd3d52e1fbd906193d5e474d69ec151609a (patch)
tree24af25af1b121c74a082971640c8d42960187353 /net-libs/libpri
parentmore 2.10 stuff (diff)
downloadgentoo-2-c6a19dd3d52e1fbd906193d5e474d69ec151609a.tar.gz
gentoo-2-c6a19dd3d52e1fbd906193d5e474d69ec151609a.tar.bz2
gentoo-2-c6a19dd3d52e1fbd906193d5e474d69ec151609a.zip
New version. Adds bristuff support.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'net-libs/libpri')
-rw-r--r--net-libs/libpri/ChangeLog7
-rw-r--r--net-libs/libpri/files/digest-libpri-1.0.62
-rw-r--r--net-libs/libpri/libpri-1.0.6.ebuild44
3 files changed, 52 insertions, 1 deletions
diff --git a/net-libs/libpri/ChangeLog b/net-libs/libpri/ChangeLog
index 53ee4b14632c..b132fbd3af21 100644
--- a/net-libs/libpri/ChangeLog
+++ b/net-libs/libpri/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/libpri
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.17 2005/02/21 21:07:13 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.18 2005/03/10 00:17:27 stkn Exp $
+
+*libpri-1.0.6 (10 Mar 2005)
+
+ 10 Mar 2005; Stefan Knoblich <stkn@gentoo.org> +libpri-1.0.6.ebuild:
+ New version. Adds bristuff support.
21 Feb 2005; Simon Stelling <blubb@gentoo.org> libpri-1.0.4.ebuild:
added ~amd64
diff --git a/net-libs/libpri/files/digest-libpri-1.0.6 b/net-libs/libpri/files/digest-libpri-1.0.6
new file mode 100644
index 000000000000..47f987975892
--- /dev/null
+++ b/net-libs/libpri/files/digest-libpri-1.0.6
@@ -0,0 +1,2 @@
+MD5 dcb3a12d850061942b166fc39cd3bdf1 libpri-1.0.6.tar.gz 55760
+MD5 b07d5f949b90677a2925ba2dd50593cb bristuff-0.2.0-RC7k.tar.gz 114265
diff --git a/net-libs/libpri/libpri-1.0.6.ebuild b/net-libs/libpri/libpri-1.0.6.ebuild
new file mode 100644
index 000000000000..4eb280bf8cd7
--- /dev/null
+++ b/net-libs/libpri/libpri-1.0.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/libpri-1.0.6.ebuild,v 1.1 2005/03/10 00:17:27 stkn Exp $
+
+inherit eutils
+
+IUSE="bri"
+
+BRI_VERSION="0.2.0-RC7k"
+
+DESCRIPTION="Primary Rate ISDN (PRI) library"
+HOMEPAGE="http://www.asterisk.org/"
+SRC_URI="ftp://ftp.asterisk.org/pub/telephony/libpri/libpri-${PV}.tar.gz
+ bri? http://www.junghanns.net/asterisk/downloads/bristuff-${BRI_VERSION}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ if use bri; then
+ einfo "Patching libpri w/ BRI stuff (${BRI_VERSION})"
+ epatch ${WORKDIR}/bristuff-${BRI_VERSION}/patches/libpri.patch
+ fi
+
+ # use system CFLAGS
+ sed -i -e "s:^CFLAGS=:CFLAGS+=:" \
+ -e "/^CFLAGS[\t ]\++=/ d" Makefile
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ make INSTALL_PREFIX=${D} install || die
+
+ dodoc ChangeLog README TODO LICENSE
+}