diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2012-05-08 14:17:02 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2012-05-08 14:17:02 +0000 |
commit | a139a15b9ca1fd9a0761318038d4f62f82b98b50 (patch) | |
tree | 9f338287ef2ac33951fc4caa71e2138c85a7ba93 /net-misc/dahdi-tools/dahdi-tools-2.6.1.ebuild | |
parent | Marking perl-Time-Local-1.200.0-r1 ppc64 for bug 413887 (diff) | |
download | gentoo-2-a139a15b9ca1fd9a0761318038d4f62f82b98b50.tar.gz gentoo-2-a139a15b9ca1fd9a0761318038d4f62f82b98b50.tar.bz2 gentoo-2-a139a15b9ca1fd9a0761318038d4f62f82b98b50.zip |
Updated autoconf by Jaco Kroon closes bug #390091. Version bump to upstream release 2.6.1 as requested by Oliver Jaksch in bug #404521.
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/dahdi-tools/dahdi-tools-2.6.1.ebuild')
-rw-r--r-- | net-misc/dahdi-tools/dahdi-tools-2.6.1.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-misc/dahdi-tools/dahdi-tools-2.6.1.ebuild b/net-misc/dahdi-tools/dahdi-tools-2.6.1.ebuild new file mode 100644 index 000000000000..4e9385d199d7 --- /dev/null +++ b/net-misc/dahdi-tools/dahdi-tools-2.6.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 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.6.1.ebuild,v 1.1 2012/05/08 14:17:01 chainsaw Exp $ + +EAPI=4 + +inherit base + +DESCRIPTION="Userspace tools to configure the kernel modules from net-misc/dahdi" +HOMEPAGE="http://www.asterisk.org" +SRC_URI="http://downloads.asterisk.org/pub/telephony/${PN}/releases/${P}.tar.gz + mirror://gentoo/gentoo-${PN}-patchset-0.2.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ppp" + +DEPEND="dev-libs/newt + ppp? ( net-dialup/ppp ) + >=net-misc/dahdi-2.5.0 + !net-misc/zaptel + >=sys-kernel/linux-headers-2.6.35 + virtual/libusb:0" +RDEPEND="${DEPEND}" + +EPATCH_SUFFIX="diff" +PATCHES=( "${WORKDIR}/${PN}-patchset" ) + +src_compile() { + default_src_compile + emake tests + use ppp && emake -C ppp +} + +src_install() { + emake DESTDIR="${D}" install + use ppp && emake DESTDIR="${D}" -C ppp install + emake DESTDIR="${D}" config + + dosbin patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest + + # install init scripts + newinitd "${FILESDIR}"/dahdi.init2 dahdi + newinitd "${FILESDIR}"/dahdi-autoconf.init2 dahdi-autoconf + newconfd "${FILESDIR}"/dahdi-autoconf.conf2 dahdi-autoconf +} |