diff options
author | 2005-08-16 16:39:19 +0000 | |
---|---|---|
committer | 2005-08-16 16:39:19 +0000 | |
commit | 130813944337b25ef329826e201e139a9ba9ecca (patch) | |
tree | 7ccb9ec1aaa1432aad643833074e1b1b2cd55887 /net-misc/asterisk-app_nv_faxdetect/asterisk-app_nv_faxdetect-1.0.6.ebuild | |
parent | Marked stable on x86. (diff) | |
download | gentoo-2-130813944337b25ef329826e201e139a9ba9ecca.tar.gz gentoo-2-130813944337b25ef329826e201e139a9ba9ecca.tar.bz2 gentoo-2-130813944337b25ef329826e201e139a9ba9ecca.zip |
Made ebuild ready for asterisk-1.2.0(_pre).
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-misc/asterisk-app_nv_faxdetect/asterisk-app_nv_faxdetect-1.0.6.ebuild')
-rw-r--r-- | net-misc/asterisk-app_nv_faxdetect/asterisk-app_nv_faxdetect-1.0.6.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/net-misc/asterisk-app_nv_faxdetect/asterisk-app_nv_faxdetect-1.0.6.ebuild b/net-misc/asterisk-app_nv_faxdetect/asterisk-app_nv_faxdetect-1.0.6.ebuild index bc5bd310cac7..bcf926e3ca98 100644 --- a/net-misc/asterisk-app_nv_faxdetect/asterisk-app_nv_faxdetect-1.0.6.ebuild +++ b/net-misc/asterisk-app_nv_faxdetect/asterisk-app_nv_faxdetect-1.0.6.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-app_nv_faxdetect/asterisk-app_nv_faxdetect-1.0.6.ebuild,v 1.3 2005/07/08 20:51:18 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_nv_faxdetect/asterisk-app_nv_faxdetect-1.0.6.ebuild,v 1.4 2005/08/16 16:39:19 stkn Exp $ inherit eutils @@ -27,8 +27,14 @@ src_unpack() { cd ${S} # use asterisk-config... epatch ${FILESDIR}/app_nv_faxdetect-${PV}-astcfg.diff - # change callerid to asterisk stable - epatch ${FILESDIR}/app_nv_faxdetect-${PV}-aststable.diff + + if has_version "<net-misc/asterisk-1.1.0"; then + einfo "Building for Asterisk-1.0.x" + # change callerid to asterisk stable + epatch ${FILESDIR}/app_nv_faxdetect-${PV}-aststable.diff + else + einfo "Building for Asterisk-1.2.x" + fi } src_compile() { |