diff options
Diffstat (limited to 'net-misc/netctl/netctl-1.9.ebuild')
-rw-r--r-- | net-misc/netctl/netctl-1.9.ebuild | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/net-misc/netctl/netctl-1.9.ebuild b/net-misc/netctl/netctl-1.9.ebuild deleted file mode 100644 index bc3b83141261..000000000000 --- a/net-misc/netctl/netctl-1.9.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit bash-completion-r1 eutils - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="git://projects.archlinux.org/netctl.git" - inherit git-2 - DEPEND="app-text/asciidoc" -else - SRC_URI="https://sources.archlinux.org/other/packages/${PN}/${P}.tar.xz" - KEYWORDS="amd64 x86" -fi - -DESCRIPTION="Profile based network connection tool from Arch Linux" -HOMEPAGE="https://wiki.archlinux.org/index.php/Netctl - https://www.archlinux.org/packages/core/any/netctl/ - https://projects.archlinux.org/netctl.git/" - -LICENSE="GPL-3" -SLOT="0" -IUSE="" - -DEPEND+=" - virtual/pkgconfig - sys-apps/systemd -" -RDEPEND=" - >=app-shells/bash-4.0 - >=net-dns/openresolv-3.5.4-r1 - sys-apps/iproute2 - sys-apps/systemd - !<net-misc/dhcpcd-6.4.0 -" - -src_prepare() { - sed -i -e "s:/usr/bin/ifplugd:/usr/sbin/ifplugd:" \ - "services/netctl-ifplugd@.service" || die -} - -src_compile() { - return 0 -} - -src_install() { - emake DESTDIR="${D%/}" SHELL=bash install - dodoc AUTHORS NEWS README - newbashcomp contrib/bash-completion netctl - bashcomp_alias netctl netctl-auto wifi-menu - insinto /usr/share/zsh/site-functions - newins contrib/zsh-completion _netctl -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "To get additional features, a number of optional runtime dependencies may be" - elog "installed." - optfeature "DHCP support" net-misc/dhcpcd ">=net-misc/dhcp-5.6.7[client]" - optfeature "WPA support" net-wireless/wpa_supplicant - optfeature "interactive assistant" dev-util/dialog - optfeature "automatic connection" sys-apps/ifplugd - optfeature "bonding support" net-misc/ifenslave - optfeature "dialup support" net-dialup/ppp - fi -} |