/[gentoo-x86]/net-misc/aiccu/aiccu-2007.01.15.ebuild
Gentoo

Contents of /net-misc/aiccu/aiccu-2007.01.15.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Aug 5 18:25:22 2008 UTC (6 years, 1 month ago) by dertobi123
Branch: MAIN
Changes since 1.8: +2 -2 lines
ppc stable
(Portage version: 2.2_rc6/cvs/Linux 2.6.25-gentoo-r6 x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/aiccu/aiccu-2007.01.15.ebuild,v 1.8 2008/08/05 11:09:29 gmsoft Exp $
4
5 inherit eutils
6
7 DESCRIPTION="AICCU Client to configure an IPv6 tunnel to SixXS"
8 HOMEPAGE="http://www.sixxs.net/tools/aiccu"
9 SRC_URI="http://www.sixxs.net/archive/sixxs/aiccu/unix/${PN}_${PV//\./}.tar.gz"
10
11 LICENSE="SixXS"
12 SLOT="0"
13 KEYWORDS="amd64 arm hppa ppc ~sparc x86"
14 IUSE=""
15 DEPEND="net-libs/gnutls
16 sys-apps/iproute2"
17 S=${WORKDIR}/aiccu
18
19 src_unpack() {
20 unpack ${A}
21 cd "${S}"
22
23 epatch "${FILESDIR}/${P}-as-needed.patch"
24 }
25
26 src_compile() {
27 cd ${S}
28 export RPM_OPT_FLAGS=${CFLAGS}
29 make || die "Build Failed"
30 }
31
32 src_install() {
33 dosbin unix-console/aiccu
34 insopts -m 600
35 insinto /etc
36 doins doc/aiccu.conf
37 dodoc doc/{HOWTO,LICENSE,README,changelog}
38 newinitd doc/aiccu.init.gentoo aiccu
39 }
40
41 pkg_postinst() {
42 einfo "The aiccu ebuild installs an init script named 'aiccu'"
43 einfo "To add support for a SixXS connection at startup, do"
44 einfo "edit your /etc/aiccu.conf and do"
45 einfo "# rc-update add aiccu default"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20