diff options
Diffstat (limited to 'net-libs/libpri/libpri-1.4.9.ebuild')
-rw-r--r-- | net-libs/libpri/libpri-1.4.9.ebuild | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/net-libs/libpri/libpri-1.4.9.ebuild b/net-libs/libpri/libpri-1.4.9.ebuild index 7dea409cebfc..540c6f072db0 100644 --- a/net-libs/libpri/libpri-1.4.9.ebuild +++ b/net-libs/libpri/libpri-1.4.9.ebuild @@ -1,37 +1,28 @@ # 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.4.9.ebuild,v 1.1 2009/03/10 18:51:15 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/libpri-1.4.9.ebuild,v 1.2 2009/05/17 22:22:58 volkmar Exp $ -inherit eutils - -IUSE="" +EAPI="2" -MY_P="${P/_/-}" +inherit eutils DESCRIPTION="Primary Rate ISDN (PRI) library" HOMEPAGE="http://www.asterisk.org/" -SRC_URI="http://downloads.digium.com/pub/libpri/${MY_P}.tar.gz" - -S="${WORKDIR}/${MY_P}" +SRC_URI="http://downloads.digium.com/pub/${PN}/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~x86 ~ppc ~sparc" +IUSE="" -src_unpack() { - unpack ${A} - - cd "${S}" +src_prepare() { epatch "${FILESDIR}/${P}-respect-cflags.patch" epatch "${FILESDIR}/${P}-multilib.patch" } -src_compile() { - emake || die -} - src_install() { - make INSTALL_PREFIX="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || die + emake INSTALL_PREFIX="${D}" LIBDIR="${D}/usr/$(get_libdir)" install \ + || die "emake install failed" - dodoc ChangeLog README TODO + dodoc ChangeLog README TODO || die "dodoc failed" } |