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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jul 21 19:08:11 2010 UTC (9 years, 6 months ago) by chainsaw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove net-misc/asterisk-app_iconv from the tree; bug #312433.

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-app_iconv/asterisk-app_iconv-0.9.2-r1.ebuild,v 1.2 2007/03/12 20:25:03 opfer Exp $
4
5 inherit eutils toolchain-funcs
6
7 MY_P="${P/asterisk-}"
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_P}.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_P}"
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25
26 # patch makefile
27 sed -i -e "s:^\(CFLAGS\)=:\1+=:g" \
28 -e "s:\(RES=\).*echo \"\(.*\)\".*:\1\2:g" \
29 -e "s:\(\$(SOLINK)\):\$(LDFLAGS) \1:g" Makefile
30 }
31
32 src_compile() {
33 emake CC=$(tc-getCC) || die "emake failed"
34 }
35
36 src_install() {
37 exeinto /usr/$(get_libdir)/asterisk/modules
38 doexe app_iconv.so
39 dodoc CHANGES README
40 }

  ViewVC Help
Powered by ViewVC 1.1.20