diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2010-09-14 15:14:32 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2010-09-14 15:14:32 +0000 |
commit | 4ac7fdf0c965b7487d338667bfd65a7d752b6b72 (patch) | |
tree | 169cd98859fd19890a0f8fa9001f5c368a0e6878 /net-misc/dahdi-tools | |
parent | Stable on amd64 wrt bug #335319 (diff) | |
download | gentoo-2-4ac7fdf0c965b7487d338667bfd65a7d752b6b72.tar.gz gentoo-2-4ac7fdf0c965b7487d338667bfd65a7d752b6b72.tar.bz2 gentoo-2-4ac7fdf0c965b7487d338667bfd65a7d752b6b72.zip |
Updated ebuild by Jaco Kroon, closes bug #337280. Updated linux-headers depend to avoid build failure reported by Diego E. "Flameeyes" Pettenò in bug #336430.
(Portage version: 2.1.9.5/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/dahdi-tools')
-rw-r--r-- | net-misc/dahdi-tools/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/dahdi-tools/dahdi-tools-2.4.0.ebuild | 45 | ||||
-rw-r--r-- | net-misc/dahdi-tools/metadata.xml | 3 |
3 files changed, 56 insertions, 1 deletions
diff --git a/net-misc/dahdi-tools/ChangeLog b/net-misc/dahdi-tools/ChangeLog index 94cd7afeb676..5d56488a0ff9 100644 --- a/net-misc/dahdi-tools/ChangeLog +++ b/net-misc/dahdi-tools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/dahdi-tools # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/ChangeLog,v 1.6 2010/05/25 15:22:37 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/ChangeLog,v 1.7 2010/09/14 15:14:32 chainsaw Exp $ + +*dahdi-tools-2.4.0 (14 Sep 2010) + + 14 Sep 2010; <chainsaw@gentoo.org> +dahdi-tools-2.4.0.ebuild: + Updated ebuild by Jaco Kroon, closes bug #337280. Updated linux-headers + depend to avoid build failure reported by Diego E. "Flameeyes" Pettenò in + bug #336430. *dahdi-tools-2.3.0 (25 May 2010) diff --git a/net-misc/dahdi-tools/dahdi-tools-2.4.0.ebuild b/net-misc/dahdi-tools/dahdi-tools-2.4.0.ebuild new file mode 100644 index 000000000000..90c5b0b1b403 --- /dev/null +++ b/net-misc/dahdi-tools/dahdi-tools-2.4.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/dahdi-tools-2.4.0.ebuild,v 1.1 2010/09/14 15:14:32 chainsaw Exp $ + +EAPI=3 + +inherit base + +DESCRIPTION="Userspace tools to configure the kernel modules from net-misc/dahdi" +HOMEPAGE="http://www.asterisk.org" +SRC_URI="http://downloads.digium.com/pub/telephony/dahdi-tools/releases/${P}.tar.gz + mirror://gentoo/gentoo-dahdi-tools-patchset-0.2.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ppp" + +DEPEND="dev-libs/newt + net-misc/dahdi + !net-misc/zaptel + >=sys-kernel/linux-headers-2.6.35 + virtual/libusb:0" +RDEPEND="${DEPEND}" + +EPATCH_SUFFIX="diff" +PATCHES=( "${WORKDIR}/dahdi-tools-patchset" ) + +src_compile() { + default_src_compile + if use ppp; then + emake -C ppp || die "Failed compiling ppp plugin" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "Failed to install binaries" + if use ppp; then + emake DESTDIR="${D}" -C ppp install || die "Failed to install ppp plugin" + fi + emake DESTDIR="${D}" config || die "Failed to install configuration files" + + # install init script + newinitd "${FILESDIR}"/dahdi.init2 dahdi +} diff --git a/net-misc/dahdi-tools/metadata.xml b/net-misc/dahdi-tools/metadata.xml index 66a09d837718..d1637958f5f9 100644 --- a/net-misc/dahdi-tools/metadata.xml +++ b/net-misc/dahdi-tools/metadata.xml @@ -6,4 +6,7 @@ <email>chainsaw@gentoo.org</email> <name>Tony Vroon</name> </maintainer> + <use> + <flag name="ppp">Enables PPP/DAHDIRAS support</flag> + </use> </pkgmetadata> |