summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-12-16 20:49:44 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-12-16 20:49:44 +0000
commitd081d2c78b23dd7b934a127ade4daf4081314312 (patch)
tree6087faa0639ec6b062b54fa53c9be59390f8eb4b /net-libs
parentVersion bumped to 3.3.9 and closing bugs: #100637, #109196, #113634, #114496,... (diff)
downloadgentoo-2-d081d2c78b23dd7b934a127ade4daf4081314312.tar.gz
gentoo-2-d081d2c78b23dd7b934a127ade4daf4081314312.tar.bz2
gentoo-2-d081d2c78b23dd7b934a127ade4daf4081314312.zip
Version bump, modified bristuff 0.3.0-PRE1c patch to apply.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libpri/ChangeLog7
-rw-r--r--net-libs/libpri/files/digest-libpri-1.2.12
-rw-r--r--net-libs/libpri/libpri-1.2.1.ebuild63
3 files changed, 71 insertions, 1 deletions
diff --git a/net-libs/libpri/ChangeLog b/net-libs/libpri/ChangeLog
index 4b5a52862b9c..98060152294a 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.43 2005/12/02 03:19:42 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.44 2005/12/16 20:46:37 stkn Exp $
+
+*libpri-1.2.1 (16 Dec 2005)
+
+ 16 Dec 2005; Stefan Knoblich <stkn@gentoo.org> +libpri-1.2.1.ebuild:
+ Version bump, modified bristuff 0.3.0-PRE1c patch to apply.
*libpri-1.0.9-r2 (02 Dec 2005)
diff --git a/net-libs/libpri/files/digest-libpri-1.2.1 b/net-libs/libpri/files/digest-libpri-1.2.1
new file mode 100644
index 000000000000..986982d180b0
--- /dev/null
+++ b/net-libs/libpri/files/digest-libpri-1.2.1
@@ -0,0 +1,2 @@
+MD5 d039b171514ec8b1a163b0875f76734e libpri-1.2.1.tar.gz 75687
+MD5 a3db8944c0f761f6339d1f6fe26af9bb libpri-1.2.1-bristuff-0.3.0-PRE-1c.diff.gz 42851
diff --git a/net-libs/libpri/libpri-1.2.1.ebuild b/net-libs/libpri/libpri-1.2.1.ebuild
new file mode 100644
index 000000000000..a11d1d784091
--- /dev/null
+++ b/net-libs/libpri/libpri-1.2.1.ebuild
@@ -0,0 +1,63 @@
+# 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.2.1.ebuild,v 1.1 2005/12/16 20:46:37 stkn Exp $
+
+inherit eutils
+
+## TODO:
+#
+# - bristuff (waiting for next upstream release...)
+#
+
+IUSE="bri"
+
+MY_P="${P/_/-}"
+
+BRI_VERSION="0.3.0-PRE-1c"
+
+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.netdomination.org/pub/asterisk/libpri-${PV}-bristuff-${BRI_VERSION}.diff.gz )"
+# bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz )"
+
+RESTRICT="nomirror"
+
+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.0-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+=:" \
+ ${WORKDIR}/libpri-${PV}-bristuff-${BRI_VERSION}.diff
+# ${S_BRI}/patches/libpri.patch
+
+# 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
+}