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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jun 20 06:22:44 2012 UTC (7 years, 5 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Revbump to improve ebuils (thanks for suggestions by Bertrand Jacquin and Diego Elio Pettenò on bug 421171), drop old.

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2011 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-r1.ebuild,v 1.3 2011/06/08 18:22:15 maekke 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 #tries to connect to external networks (#339180)
24 RESTRICT="test"
25
26 src_configure() {
27 econf --enable-miredo-user \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --docdir="/usr/share/doc/${P}"
32 use caps || \
33 echo "#undef HAVE_SYS_CAPABILITY_H" >> config.h
34 }
35
36 src_install() {
37 emake DESTDIR="${D}" install || die "failed install"
38 newinitd "${FILESDIR}"/miredo-server.rc miredo-server
39 newconfd "${FILESDIR}"/miredo-server.conf miredo-server
40 newinitd "${FILESDIR}"/miredo.rc miredo
41 newconfd "${FILESDIR}"/miredo.conf miredo
42 insinto /etc/miredo
43 doins misc/miredo-server.conf
44 dodoc README NEWS ChangeLog AUTHORS THANKS TODO
45 }
46
47 pkg_preinst() {
48 enewgroup miredo
49 enewuser miredo -1 -1 /var/empty miredo
50 }

  ViewVC Help
Powered by ViewVC 1.1.20