mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-25 07:08:13 -07:00
net-misc/aiccu: Drop old revision (bug 549014).
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils linux-info systemd toolchain-funcs
|
||||
|
||||
DESCRIPTION="AICCU Client to configure an IPv6 tunnel to SixXS"
|
||||
HOMEPAGE="http://www.sixxs.net/tools/aiccu"
|
||||
SRC_URI="http://www.sixxs.net/archive/sixxs/aiccu/unix/${PN}_${PV//\./}.tar.gz"
|
||||
|
||||
LICENSE="SixXS"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm hppa ppc sparc x86"
|
||||
IUSE="systemd"
|
||||
|
||||
RDEPEND="<net-libs/gnutls-3.4
|
||||
sys-apps/iproute2
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
CONFIG_CHECK="~TUN"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-r2-init.gentoo.patch \
|
||||
"${FILESDIR}"/${P}-Makefile.patch \
|
||||
"${FILESDIR}"/${P}-setupscript.patch \
|
||||
"${FILESDIR}"/${P}-uclibc.patch \
|
||||
"${FILESDIR}"/${P}-systemd.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Don't use main Makefile since it requires additional
|
||||
# dependencies which are useless for us.
|
||||
emake CC=$(tc-getCC) STRIP= -C unix-console \
|
||||
HAVE_SYSTEMD=$(usex systemd 1 0)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin unix-console/${PN}
|
||||
|
||||
insopts -m 600
|
||||
insinto /etc
|
||||
doins doc/${PN}.conf
|
||||
newinitd doc/${PN}.init.gentoo ${PN}
|
||||
|
||||
use systemd && systemd_dounit doc/${PN}.service
|
||||
|
||||
dodoc doc/{HOWTO,README,changelog}
|
||||
}
|
||||
Reference in New Issue
Block a user