diff options
author | Stefan Knoblich <stkn@gentoo.org> | 2006-06-07 17:52:33 +0000 |
---|---|---|
committer | Stefan Knoblich <stkn@gentoo.org> | 2006-06-07 17:52:33 +0000 |
commit | 28276965b473154d00d0a03a11590e81db07b4a6 (patch) | |
tree | 46fd062441547246453045dddba75b5b06f9ac2f /net-libs/libpri/libpri-1.2.3.ebuild | |
parent | fix the xml (diff) | |
download | historical-28276965b473154d00d0a03a11590e81db07b4a6.tar.gz historical-28276965b473154d00d0a03a11590e81db07b4a6.tar.bz2 historical-28276965b473154d00d0a03a11590e81db07b4a6.zip |
Version bump, updated to use bristuff-0.3.0-PRE-1p
Package-Manager: portage-2.1_rc4-r3
Diffstat (limited to 'net-libs/libpri/libpri-1.2.3.ebuild')
-rw-r--r-- | net-libs/libpri/libpri-1.2.3.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/net-libs/libpri/libpri-1.2.3.ebuild b/net-libs/libpri/libpri-1.2.3.ebuild new file mode 100644 index 000000000000..1b3409175212 --- /dev/null +++ b/net-libs/libpri/libpri-1.2.3.ebuild @@ -0,0 +1,61 @@ +# 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.ebuild,v 1.1 2006/06/07 17:52:33 stkn Exp $ + +inherit eutils + +## TODO: +# +# - bristuff (waiting for next upstream release...) +# + +IUSE="bri" + +MY_P="${P/_/-}" + +BRI_VERSION="0.3.0-PRE-1p" + +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 )" + +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+=:" \ + ${WORKDIR}/libpri-${PV}-bristuff-${BRI_VERSION}.diff +# ${S_BRI}/patches/libpri.patch + + epatch ${WORKDIR}/libpri-${PV}-bristuff-${BRI_VERSION}.diff +# epatch ${S_BRI}/patches/libpri.patch + fi +} + +src_compile() { + emake || die +} + +src_install() { + make INSTALL_PREFIX=${D} install || die + + dodoc ChangeLog README TODO LICENSE +} |