/[gentoo-x86]/net-misc/dahdi-tools/dahdi-tools-2.8.0.ebuild
Gentoo

Contents of /net-misc/dahdi-tools/dahdi-tools-2.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Feb 22 08:07:45 2014 UTC (5 years, 9 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #499128

(Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 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.8.0.ebuild,v 1.2 2014/01/28 08:48:57 nimiux Exp $
4
5 EAPI=5
6
7 inherit base
8
9 DESCRIPTION="Userspace tools to configure the kernel modules from net-misc/dahdi"
10 HOMEPAGE="http://www.asterisk.org"
11 SRC_URI="http://downloads.asterisk.org/pub/telephony/${PN}/releases/${P}.tar.gz
12 mirror://gentoo/gentoo-${PN}-patchset-0.4.tar.bz2"
13
14 LICENSE="LGPL-2.1"
15 SLOT="0"
16 KEYWORDS="amd64 x86"
17 IUSE="ppp"
18
19 DEPEND="dev-libs/newt
20 ppp? ( net-dialup/ppp )
21 >=net-misc/dahdi-2.5.0
22 !net-misc/zaptel
23 >=sys-kernel/linux-headers-2.6.35
24 virtual/libusb:0"
25 RDEPEND="${DEPEND}"
26
27 EPATCH_SUFFIX="diff"
28 PATCHES=( "${WORKDIR}/${PN}-patchset" )
29
30 src_compile() {
31 default_src_compile
32 emake tests
33 use ppp && emake -C ppp
34 }
35
36 src_install() {
37 emake DESTDIR="${D}" install
38 use ppp && emake DESTDIR="${D}" -C ppp install
39 emake DESTDIR="${D}" config
40
41 dosbin patgen pattest patlooptest hdlcstress hdlctest hdlcgen hdlcverify timertest
42
43 # install init scripts
44 newinitd "${FILESDIR}"/dahdi.init2 dahdi
45 newinitd "${FILESDIR}"/dahdi-autoconf.init2 dahdi-autoconf
46 newconfd "${FILESDIR}"/dahdi-autoconf.conf2 dahdi-autoconf
47 }

  ViewVC Help
Powered by ViewVC 1.1.20