diff options
Diffstat (limited to 'net-libs/libpri/libpri-1.4.10.1.ebuild')
-rw-r--r-- | net-libs/libpri/libpri-1.4.10.1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-libs/libpri/libpri-1.4.10.1.ebuild b/net-libs/libpri/libpri-1.4.10.1.ebuild new file mode 100644 index 000000000000..82de37c5bfd6 --- /dev/null +++ b/net-libs/libpri/libpri-1.4.10.1.ebuild @@ -0,0 +1,31 @@ +# 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.10.1.ebuild,v 1.1 2009/07/27 19:59:30 volkmar Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Primary Rate ISDN (PRI) library" +HOMEPAGE="http://www.asterisk.org/" +SRC_URI="http://downloads.digium.com/pub/${PN}/releases/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86 ~ppc ~sparc" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.4.9-respect-cflags.patch" + epatch "${FILESDIR}/${PN}-1.4.9-multilib.patch" + + # remove -Werror, fix bug 260923 + sed -i -e "s/-Werror //" Makefile || die "sed failed" +} + +src_install() { + emake INSTALL_PREFIX="${D}" LIBDIR="${D}/usr/$(get_libdir)" install \ + || die "emake install failed" + + dodoc ChangeLog README TODO || die "dodoc failed" +} |