/[gentoo-x86]/net-misc/astmanproxy/astmanproxy-1.1.ebuild
Gentoo

Contents of /net-misc/astmanproxy/astmanproxy-1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Jun 13 09:43:26 2015 UTC (4 years, 5 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/astmanproxy/astmanproxy-1.1.ebuild,v 1.6 2009/12/23 12:52:19 flameeyes Exp $
4
5 inherit eutils multilib
6
7 DESCRIPTION="Proxy for the Asterisk manager interface"
8 HOMEPAGE="http://www.popvox.com/astmanproxy/"
9 SRC_URI="http://www.popvox.com/${PN}/${P}-20050705-0643.tgz"
10
11 IUSE=""
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~ppc ~x86"
16
17 DEPEND=""
18
19 src_unpack() {
20 unpack ${A}
21 cd "${S}"
22
23 # small patch for cflags and path changes
24 epatch "${FILESDIR}"/${P}-gentoo.diff
25
26 # Fix multilib
27 sed -i -e "s#/usr/lib/#/usr/$(get_libdir)/#" "${S}/Makefile" \
28 || die "multilib sed failed"
29 }
30
31 src_install() {
32 # bug #298082
33 emake -j1 DESTDIR="${D}" install || die
34
35 dodoc README README.* VERSIONS astmanproxy.conf
36
37 docinto samples
38 dodoc samples/*
39
40 # fix permissions on config file
41 fperms 0640 /etc/astmanproxy.conf
42
43 newinitd "${FILESDIR}"/astmanproxy.rc6 astmanproxy
44 }

  ViewVC Help
Powered by ViewVC 1.1.20