summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2006-09-05 19:08:42 +0000
committerStefan Knoblich <stkn@gentoo.org>2006-09-05 19:08:42 +0000
commitf2cbd4dc49323bf2c43d2b26f74bcccabc60df8d (patch)
tree1bf61f3a9fe63b456207b7f056865c502994c7dd /net-libs
parentStable on sparc wrt #143311 (diff)
downloadgentoo-2-f2cbd4dc49323bf2c43d2b26f74bcccabc60df8d.tar.gz
gentoo-2-f2cbd4dc49323bf2c43d2b26f74bcccabc60df8d.tar.bz2
gentoo-2-f2cbd4dc49323bf2c43d2b26f74bcccabc60df8d.zip
Revision bump for bristuff-0.3.0-PRE-1s update.
(Portage version: 2.1-r2)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libpri/ChangeLog7
-rw-r--r--net-libs/libpri/files/digest-libpri-1.2.3-r16
-rw-r--r--net-libs/libpri/libpri-1.2.3-r1.ebuild56
3 files changed, 68 insertions, 1 deletions
diff --git a/net-libs/libpri/ChangeLog b/net-libs/libpri/ChangeLog
index 8c6d3a69b94e..96e6e9c2dac8 100644
--- a/net-libs/libpri/ChangeLog
+++ b/net-libs/libpri/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/libpri
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.54 2006/06/12 12:51:27 rajiv Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.55 2006/09/05 19:08:42 stkn Exp $
+
+*libpri-1.2.3-r1 (06 Sep 2006)
+
+ 06 Sep 2006; Stefan Knoblich <stkn@gentoo.org> +libpri-1.2.3-r1.ebuild:
+ Revision bump for bristuff-0.3.0-PRE-1s update.
12 Jun 2006; Rajiv Aaron Manglani <rajiv@gentoo.org>
-libpri-1.0.9-r1.ebuild, libpri-1.0.9-r2.ebuild:
diff --git a/net-libs/libpri/files/digest-libpri-1.2.3-r1 b/net-libs/libpri/files/digest-libpri-1.2.3-r1
new file mode 100644
index 000000000000..c8565a2a183e
--- /dev/null
+++ b/net-libs/libpri/files/digest-libpri-1.2.3-r1
@@ -0,0 +1,6 @@
+MD5 760eba19b03d03cd1dc8648d6239b4af bristuff-0.3.0-PRE-1s.tar.gz 265953
+RMD160 8d3abdbbae4c376d52225395c72f4538e1f84a94 bristuff-0.3.0-PRE-1s.tar.gz 265953
+SHA256 30adea4f070ed44d1952163e850c177f976857b96965e18844ccd492ccef968d bristuff-0.3.0-PRE-1s.tar.gz 265953
+MD5 f365d9ee29a7253d605729a6d07ebfff libpri-1.2.3.tar.gz 76348
+RMD160 2e113dd213c24499bb61c4caa533173534760061 libpri-1.2.3.tar.gz 76348
+SHA256 f4ca5d72aa4b5e5c99c4e1a9de7235af5ed12b51a20dd757f071f5d7cf9d0fd0 libpri-1.2.3.tar.gz 76348
diff --git a/net-libs/libpri/libpri-1.2.3-r1.ebuild b/net-libs/libpri/libpri-1.2.3-r1.ebuild
new file mode 100644
index 000000000000..28719d5169e2
--- /dev/null
+++ b/net-libs/libpri/libpri-1.2.3-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/libpri-1.2.3-r1.ebuild,v 1.1 2006/09/05 19:08:42 stkn Exp $
+
+inherit eutils
+
+IUSE="bri"
+
+MY_P="${P/_/-}"
+
+BRI_VERSION="0.3.0-PRE-1s"
+
+DESCRIPTION="Primary Rate ISDN (PRI) library"
+HOMEPAGE="http://www.asterisk.org/"
+SRC_URI="http://ftp.digium.com/pub/libpri/${MY_P}.tar.gz
+ bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz )"
+# bri? ( http://www.netdomination.org/pub/asterisk/libpri-${PV}-bristuff-${BRI_VERSION}.diff.gz )"
+
+S="${WORKDIR}/${MY_P}"
+
+S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-1.2.3-gentoo.diff
+
+ if use bri; then
+ einfo "Patching libpri w/ BRI stuff (${BRI_VERSION})"
+
+ # fix a small clash in patches
+ sed -i -e "s:CFLAGS=:CFLAGS+=:" \
+ ${S_BRI}/patches/libpri.patch
+# ${WORKDIR}/libpri-${PV}-bristuff-${BRI_VERSION}.diff
+
+ epatch ${S_BRI}/patches/libpri.patch
+# epatch ${WORKDIR}/libpri-${PV}-bristuff-${BRI_VERSION}.diff
+ fi
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ make INSTALL_PREFIX=${D} install || die
+
+ dodoc ChangeLog README TODO LICENSE
+}