/[gentoo-x86]/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.2.ebuild
Gentoo

Contents of /net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Apr 15 23:14:56 2006 UTC (13 years, 6 months ago) by stkn
Branch: MAIN
Version bump, 0.9.2 verified to compile with asterisk-1.2.x, add blocks to DEPEND for unsupported version of asterisk.
(Portage version: 2.0.54)

1 stkn 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     inherit eutils toolchain-funcs
6    
7     MY_PN="app_iconv"
8    
9     DESCRIPTION="Asterisk application plugin for character conversion"
10     HOMEPAGE="http://www.mezzo.net/asterisk/"
11     SRC_URI="http://www.mezzo.net/asterisk/${MY_PN}-${PV}.tgz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS="~ppc ~x86"
16    
17     DEPEND="sys-libs/glibc
18     >=net-misc/asterisk-1.0.5-r2"
19    
20     S=${WORKDIR}/${MY_PN}-${PV}
21    
22     src_unpack() {
23     unpack ${A}
24     cd ${S}
25    
26     epatch ${FILESDIR}/${MY_PN}-0.9.2-gentoo.diff
27    
28     # patch for asterisk-1.2.x callerid handling
29     has_version ">=net-misc/asterisk-1.2.0" && \
30     epatch ${FILESDIR}/${MY_PN}-${PV}-ast12.diff
31     }
32    
33     src_compile() {
34     emake -j1 || die "make failed"
35     }
36    
37     src_install() {
38     insinto /usr/$(get_libdir)/asterisk/modules
39     doins app_iconv.so
40     }

  ViewVC Help
Powered by ViewVC 1.1.20