diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2007-01-17 17:49:22 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2007-01-17 17:49:22 +0000 |
commit | 7ba7b3389f37e880aa6bc75c4151073706a34258 (patch) | |
tree | f7d63ac308dddd0e897b849d7d6fe900f76ee16a /net-libs | |
parent | stable x86, bug #162244 (diff) | |
download | gentoo-2-7ba7b3389f37e880aa6bc75c4151073706a34258.tar.gz gentoo-2-7ba7b3389f37e880aa6bc75c4151073706a34258.tar.bz2 gentoo-2-7ba7b3389f37e880aa6bc75c4151073706a34258.zip |
New rev with BRIstuff-0.3.0-PRE-1x
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libpri/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/libpri/files/digest-libpri-1.2.4-r1 | 6 | ||||
-rw-r--r-- | net-libs/libpri/libpri-1.2.4-r1.ebuild | 56 |
3 files changed, 70 insertions, 2 deletions
diff --git a/net-libs/libpri/ChangeLog b/net-libs/libpri/ChangeLog index 6ebf5f500e9d..5e3269da9883 100644 --- a/net-libs/libpri/ChangeLog +++ b/net-libs/libpri/ChangeLog @@ -1,6 +1,12 @@ # 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.58 2006/11/27 14:50:22 gustavoz Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.59 2007/01/17 17:49:22 gustavoz Exp $ + +*libpri-1.2.4-r1 (17 Jan 2007) + + 17 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org> + +libpri-1.2.4-r1.ebuild: + New rev with BRIstuff-0.3.0-PRE-1x *libpri-1.2.4 (27 Nov 2006) diff --git a/net-libs/libpri/files/digest-libpri-1.2.4-r1 b/net-libs/libpri/files/digest-libpri-1.2.4-r1 new file mode 100644 index 000000000000..1d0eff9ea09e --- /dev/null +++ b/net-libs/libpri/files/digest-libpri-1.2.4-r1 @@ -0,0 +1,6 @@ +MD5 2f9c26b445dc76e7767fffa5e350d618 bristuff-0.3.0-PRE-1x.tar.gz 279200 +RMD160 bc84aa50370627cfead9e0646cf87c16ddff7b00 bristuff-0.3.0-PRE-1x.tar.gz 279200 +SHA256 13d98160d4a10b46b77c822577e6c64ad7dadbc2df1b4cd0a1007ae3bbbd4aa8 bristuff-0.3.0-PRE-1x.tar.gz 279200 +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-r1.ebuild b/net-libs/libpri/libpri-1.2.4-r1.ebuild new file mode 100644 index 000000000000..041a9ce5bbb1 --- /dev/null +++ b/net-libs/libpri/libpri-1.2.4-r1.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-r1.ebuild,v 1.1 2007/01/17 17:49:22 gustavoz Exp $ + +inherit eutils + +IUSE="bri" + +MY_P="${P/_/-}" + +BRI_VERSION="0.3.0-PRE-1x" + +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 +} |