summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-12-02 03:19:42 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-12-02 03:19:42 +0000
commitb9dc793934d556be9b875b516671d25ed23581a1 (patch)
tree3d2699ad4afd90679e695d20bf18687a6fc0f488 /net-libs/libpri/libpri-1.0.9-r2.ebuild
parentAdded patch from Darrent Salt to completely fix the pixmap troubles after my ... (diff)
downloadhistorical-b9dc793934d556be9b875b516671d25ed23581a1.tar.gz
historical-b9dc793934d556be9b875b516671d25ed23581a1.tar.bz2
historical-b9dc793934d556be9b875b516671d25ed23581a1.zip
Revision bumped, new bristuff version (RC8q).
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-libs/libpri/libpri-1.0.9-r2.ebuild')
-rw-r--r--net-libs/libpri/libpri-1.0.9-r2.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/net-libs/libpri/libpri-1.0.9-r2.ebuild b/net-libs/libpri/libpri-1.0.9-r2.ebuild
new file mode 100644
index 000000000000..c3f45dca7c0d
--- /dev/null
+++ b/net-libs/libpri/libpri-1.0.9-r2.ebuild
@@ -0,0 +1,44 @@
+# 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.0.9-r2.ebuild,v 1.1 2005/12/02 03:19:42 stkn Exp $
+
+inherit eutils
+
+IUSE="bri"
+
+BRI_VERSION="0.2.0-RC8q"
+
+DESCRIPTION="Primary Rate ISDN (PRI) library"
+HOMEPAGE="http://www.asterisk.org/"
+SRC_URI="ftp://ftp.digium.com/pub/telephony/libpri/libpri-${PV}.tar.gz
+ bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ if use bri; then
+ einfo "Patching libpri w/ BRI stuff (${BRI_VERSION})"
+ epatch ${WORKDIR}/bristuff-${BRI_VERSION}/patches/libpri.patch
+ fi
+
+ # use system CFLAGS
+ sed -i -e "s:^CFLAGS=:CFLAGS+=:" \
+ -e "/^CFLAGS[\t ]\++=/ d" Makefile
+}
+
+src_compile() {
+ emake || die
+}
+
+src_install() {
+ make INSTALL_PREFIX=${D} install || die
+
+ dodoc ChangeLog README TODO LICENSE
+}