diff options
Diffstat (limited to 'net-libs/libpri/libpri-1.2.4-r1.ebuild')
-rw-r--r-- | net-libs/libpri/libpri-1.2.4-r1.ebuild | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/net-libs/libpri/libpri-1.2.4-r1.ebuild b/net-libs/libpri/libpri-1.2.4-r1.ebuild deleted file mode 100644 index b6b2279bcd8e..000000000000 --- a/net-libs/libpri/libpri-1.2.4-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2009 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.4 2009/03/10 18:51:15 chainsaw 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 )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc sparc x86" - -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" - - epatch "${S_BRI}/patches/libpri.patch" - fi -} - -src_compile() { - emake || die -} - -src_install() { - make INSTALL_PREFIX="${D}" install || die - dodoc ChangeLog README TODO -} |