summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2005-08-16 16:27:31 +0000
committerStefan Knoblich <stkn@gentoo.org>2005-08-16 16:27:31 +0000
commit25808f9d5fd5774aa075d8a92fe475cfab54bb85 (patch)
tree7c8509e8a7da7d42cec5dfa2db6d408b5fe23c1f
parentInitial import; ebuild submitted by Jochen Schalanda <jochen@schalanda.de> in... (diff)
downloadgentoo-2-25808f9d5fd5774aa075d8a92fe475cfab54bb85.tar.gz
gentoo-2-25808f9d5fd5774aa075d8a92fe475cfab54bb85.tar.bz2
gentoo-2-25808f9d5fd5774aa075d8a92fe475cfab54bb85.zip
Modified to work with asterisk-1.2.0(_pre) and 1.0.x.
(Portage version: 2.0.51.22-r2)
-rw-r--r--net-misc/asterisk-chan_capi-cm/ChangeLog6
-rw-r--r--net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.3.ebuild13
-rw-r--r--net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.4.ebuild13
3 files changed, 23 insertions, 9 deletions
diff --git a/net-misc/asterisk-chan_capi-cm/ChangeLog b/net-misc/asterisk-chan_capi-cm/ChangeLog
index f42911c24db8..d547e62bd200 100644
--- a/net-misc/asterisk-chan_capi-cm/ChangeLog
+++ b/net-misc/asterisk-chan_capi-cm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/asterisk-chan_capi-cm
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/ChangeLog,v 1.7 2005/08/13 03:26:55 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/ChangeLog,v 1.8 2005/08/16 16:27:31 stkn Exp $
+
+ 16 Aug 2005; Stefan Knoblich <stkn@gentoo.org>
+ asterisk-chan_capi-cm-0.5.3.ebuild, asterisk-chan_capi-cm-0.5.4.ebuild:
+ Make ebuilds asterisk-1.2.0(_pre) ready.
13 Aug 2005; <stkn@gentoo.org> asterisk-chan_capi-cm-0.5.4.ebuild:
Fixed permission check.
diff --git a/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.3.ebuild b/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.3.ebuild
index a3edc24b117e..71a43977d21b 100644
--- a/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.3.ebuild
+++ b/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.3.ebuild,v 1.2 2005/08/13 03:24:50 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.3.ebuild,v 1.3 2005/08/16 16:27:31 stkn Exp $
IUSE=""
@@ -28,9 +28,14 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/chan_capi-0.3.5-gentoo.diff
- # compile for asterisk-stable
- sed -i -e "s:^\(CFLAGS+=-DCVS_HEAD\):#\1:" \
- Makefile
+ if has_version "<net-misc/asterisk-1.1.0"; then
+ einfo "Building for asterisk-1.0.x"
+ # compile for asterisk-stable
+ sed -i -e "s:^\(CFLAGS+=-DCVS_HEAD\):#\1:" \
+ Makefile
+ else
+ einfo "Building for asterisk-1.2.x"
+ fi
}
src_compile() {
diff --git a/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.4.ebuild b/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.4.ebuild
index 862114685f04..3912038fdba3 100644
--- a/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.4.ebuild
+++ b/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.4.ebuild,v 1.2 2005/08/13 03:26:55 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-chan_capi-cm/asterisk-chan_capi-cm-0.5.4.ebuild,v 1.3 2005/08/16 16:27:31 stkn Exp $
IUSE=""
@@ -28,9 +28,14 @@ src_unpack() {
cd ${S}
epatch ${FILESDIR}/chan_capi-0.3.5-gentoo.diff
- # compile for asterisk-stable
- sed -i -e "s:^\(CFLAGS+=-DCVS_HEAD\):#\1:" \
- Makefile
+ if has_version "<net-misc/asterisk-1.1.0"; then
+ einfo "Building for asterisk-1.0.x"
+ # compile for asterisk-stable
+ sed -i -e "s:^\(CFLAGS+=-DCVS_HEAD\):#\1:" \
+ Makefile
+ else
+ einfo "Building for asterisk-1.2.x"
+ fi
}
src_compile() {