/[gentoo-x86]/net-misc/miredo/miredo-1.2.3.ebuild
Gentoo

Contents of /net-misc/miredo/miredo-1.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Aug 31 11:21:22 2010 UTC (9 years, 3 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Revision bump to fix bug #335297
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/miredo/miredo-1.2.3.ebuild,v 1.2 2010/05/03 18:25:14 bangert Exp $
4
5 EAPI=3
6
7 inherit eutils
8
9 DESCRIPTION="Miredo is an open-source Teredo IPv6 tunneling software."
10 HOMEPAGE="http://www.remlab.net/miredo/"
11 SRC_URI="http://www.remlab.net/files/miredo/miredo-1.2.3.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+caps"
17
18 DEPEND="dev-libs/judy
19 caps? ( sys-libs/libcap )"
20 RDEPEND="${DEPEND}
21 sys-apps/iproute2"
22
23 src_configure() {
24 econf --enable-miredo-user \
25 --prefix=/usr \
26 --sysconfdir=/etc \
27 --localstatedir=/var \
28 --docdir="/usr/share/doc/${P}"
29 use caps || \
30 echo "#undef HAVE_SYS_CAPABILITY_H" >> config.h
31 }
32
33 src_install() {
34 emake DESTDIR="${D}" install || die "failed install"
35 newinitd "${FILESDIR}"/miredo-server.rc miredo-server
36 newconfd "${FILESDIR}"/miredo-server.conf miredo-server
37 newinitd "${FILESDIR}"/miredo.rc miredo
38 newconfd "${FILESDIR}"/miredo.conf miredo
39 insinto /etc/miredo
40 doins misc/miredo-server.conf
41 dodoc README NEWS ChangeLog AUTHORS THANKS TODO
42 }
43
44 pkg_preinst() {
45 enewgroup miredo
46 enewuser miredo -1 -1 /var/empty miredo
47 }

  ViewVC Help
Powered by ViewVC 1.1.20