summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2012-05-04 16:19:59 +0000
committerTony Vroon <chainsaw@gentoo.org>2012-05-04 16:19:59 +0000
commitf05f5edf3f212c02b1af993d4deb8fa05f5f5c43 (patch)
treebae23e0bd62f85445fe41ac718c99c61f13a32b1 /net-misc/dahdi-tools
parentManifest fix (diff)
downloadgentoo-2-f05f5edf3f212c02b1af993d4deb8fa05f5f5c43.tar.gz
gentoo-2-f05f5edf3f212c02b1af993d4deb8fa05f5f5c43.tar.bz2
gentoo-2-f05f5edf3f212c02b1af993d4deb8fa05f5f5c43.zip
EAPI=4 port and general build improvements by Agostino "ago" Sarubbo in bug #404221.
(Portage version: 2.1.10.57/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/dahdi-tools')
-rw-r--r--net-misc/dahdi-tools/ChangeLog6
-rw-r--r--net-misc/dahdi-tools/dahdi-tools-2.5.0.ebuild29
2 files changed, 17 insertions, 18 deletions
diff --git a/net-misc/dahdi-tools/ChangeLog b/net-misc/dahdi-tools/ChangeLog
index 029b619bb079..0224ce131f54 100644
--- a/net-misc/dahdi-tools/ChangeLog
+++ b/net-misc/dahdi-tools/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/dahdi-tools
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/ChangeLog,v 1.17 2012/04/22 12:22:15 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/ChangeLog,v 1.18 2012/05/04 16:19:59 chainsaw Exp $
+
+ 04 May 2012; Tony Vroon <chainsaw@gentoo.org> dahdi-tools-2.5.0.ebuild:
+ EAPI=4 port and general build improvements by Agostino "ago" Sarubbo in bug
+ #404221.
22 Apr 2012; Markus Meier <maekke@gentoo.org> dahdi-tools-2.5.0.ebuild:
x86 stable, bug #404221
diff --git a/net-misc/dahdi-tools/dahdi-tools-2.5.0.ebuild b/net-misc/dahdi-tools/dahdi-tools-2.5.0.ebuild
index 408b2f6381b5..6081312e7944 100644
--- a/net-misc/dahdi-tools/dahdi-tools-2.5.0.ebuild
+++ b/net-misc/dahdi-tools/dahdi-tools-2.5.0.ebuild
@@ -1,15 +1,15 @@
# 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.5.0.ebuild,v 1.3 2012/04/22 12:22:15 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dahdi-tools/dahdi-tools-2.5.0.ebuild,v 1.4 2012/05/04 16:19:59 chainsaw Exp $
-EAPI=3
+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.digium.com/pub/telephony/dahdi-tools/releases/${P}.tar.gz
- mirror://gentoo/gentoo-dahdi-tools-patchset-0.2.tar.bz2"
+SRC_URI="http://downloads.digium.com/pub/telephony/${PN}/releases/${P}.tar.gz
+ mirror://gentoo/gentoo-${PN}-patchset-0.2.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
@@ -25,25 +25,20 @@ DEPEND="dev-libs/newt
RDEPEND="${DEPEND}"
EPATCH_SUFFIX="diff"
-PATCHES=( "${WORKDIR}/dahdi-tools-patchset" )
+PATCHES=( "${WORKDIR}/${PN}-patchset" )
src_compile() {
default_src_compile
- emake tests || die "Failed compiling test utilities"
- if use ppp; then
- emake -C ppp || die "Failed compiling ppp plugin"
- fi
+ emake tests
+ use ppp && emake -C ppp
}
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"
-
- dosbin patgen pattest patlooptest hdlcstress hdlctest hdlcgen
- dosbin hdlcverify timertest
+ 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