Parent Directory
|
Revision Log
Install in perl vendor directory, not site as per bug #295105. Explicitly block zaptel as per bug #295107 (both by Diego E. "Flameeyes" Pettenò). Work around Gentoo-specific broken linux headers, closes bug #290918 by Chí-Thanh Christopher Nguyễn. Do not fiddle with the hardware in the Makefile, closes bug #296359 by Jaco Kroon. (Portage version: 2.1.7.15/cvs/Linux x86_64)
1 | # Copyright 1999-2009 Gentoo Foundation |
2 | # Distributed under the terms of the GNU General Public License v2 |
3 | # $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/dahdi-tools-2.2.0.ebuild,v 1.1 2009/10/28 11:25:13 chainsaw Exp $ |
4 | |
5 | EAPI=1 |
6 | inherit eutils |
7 | |
8 | DESCRIPTION="Userspace tools to configure the kernel modules from net-misc/dahdi" |
9 | HOMEPAGE="http://www.asterisk.org" |
10 | SRC_URI="http://downloads.digium.com/pub/telephony/dahdi-tools/releases/${P}.tar.gz" |
11 | |
12 | LICENSE="GPL-2 LGPL-2.1" |
13 | SLOT="0" |
14 | KEYWORDS="~amd64 ~x86" |
15 | IUSE="" |
16 | |
17 | DEPEND="net-misc/dahdi |
18 | virtual/libusb:0" |
19 | |
20 | RDEPEND="${DEPEND}" |
21 | |
22 | src_unpack() { |
23 | unpack ${A} |
24 | cd "${S}" |
25 | epatch "${FILESDIR}/${P}-ifreq.patch" |
26 | epatch "${FILESDIR}/${P}-modprobe-suffix.patch" |
27 | } |
28 | |
29 | src_install() { |
30 | emake DESTDIR="${D}" install || die "Failed to install binaries" |
31 | emake DESTDIR="${D}" config || die "Failed to install configuration files" |
32 | |
33 | # install init script |
34 | newinitd "${FILESDIR}"/dahdi.init2 dahdi |
35 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |