summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2007-04-26 19:40:02 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2007-04-26 19:40:02 +0000
commit6aea9f05b934bd2f9283737a221655180be590b0 (patch)
tree6c0eeee5e7c5e766042a79b9bcfffc283ef39b93
parentDropped ppc-macos, see you in prefix (diff)
downloadgentoo-2-6aea9f05b934bd2f9283737a221655180be590b0.tar.gz
gentoo-2-6aea9f05b934bd2f9283737a221655180be590b0.tar.bz2
gentoo-2-6aea9f05b934bd2f9283737a221655180be590b0.zip
Revbump with bristuff 1y-d
(Portage version: 2.1.2.2)
-rw-r--r--net-libs/libpri/ChangeLog8
-rw-r--r--net-libs/libpri/files/digest-libpri-1.2.4-r26
-rw-r--r--net-libs/libpri/libpri-1.2.4-r2.ebuild56
3 files changed, 69 insertions, 1 deletions
diff --git a/net-libs/libpri/ChangeLog b/net-libs/libpri/ChangeLog
index c771ee829912..224ad8bbdd05 100644
--- a/net-libs/libpri/ChangeLog
+++ b/net-libs/libpri/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/libpri
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.61 2007/03/13 19:56:21 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.62 2007/04/26 19:40:02 gustavoz Exp $
+
+*libpri-1.2.4-r2 (26 Apr 2007)
+
+ 26 Apr 2007; Gustavo Zacarias <gustavoz@gentoo.org>
+ +libpri-1.2.4-r2.ebuild:
+ Revbump with bristuff 1y-d
13 Mar 2007; Christian Faulhammer <opfer@gentoo.org>
libpri-1.2.4-r1.ebuild:
diff --git a/net-libs/libpri/files/digest-libpri-1.2.4-r2 b/net-libs/libpri/files/digest-libpri-1.2.4-r2
new file mode 100644
index 000000000000..e98ce5c2aba6
--- /dev/null
+++ b/net-libs/libpri/files/digest-libpri-1.2.4-r2
@@ -0,0 +1,6 @@
+MD5 a9ef013ab1a574074820edc9bb1a96e9 bristuff-0.3.0-PRE-1y-d.tar.gz 286165
+RMD160 7424e3f6876ff1e9415c11d3c8ed70014c5a0f4f bristuff-0.3.0-PRE-1y-d.tar.gz 286165
+SHA256 99688819bce753910b154ad0866d77f861e25842a1e810d0baf80a0a02cfef25 bristuff-0.3.0-PRE-1y-d.tar.gz 286165
+MD5 2bc348d8363027736ccbf5998d85d317 libpri-1.2.4.tar.gz 76663
+RMD160 eedd19412532fdd13b14bbd457451c5e4efb05a5 libpri-1.2.4.tar.gz 76663
+SHA256 bbfaf5dff54934d844b3785e3fbd19817f0d80b1aa84153e5be40802c6b00d93 libpri-1.2.4.tar.gz 76663
diff --git a/net-libs/libpri/libpri-1.2.4-r2.ebuild b/net-libs/libpri/libpri-1.2.4-r2.ebuild
new file mode 100644
index 000000000000..76bccbee5bb7
--- /dev/null
+++ b/net-libs/libpri/libpri-1.2.4-r2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/libpri-1.2.4-r2.ebuild,v 1.1 2007/04/26 19:40:02 gustavoz Exp $
+
+inherit eutils
+
+IUSE="bri"
+
+MY_P="${P/_/-}"
+
+BRI_VERSION="0.3.0-PRE-1y-d"
+
+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
+}