networkmanager-openswan-1.0.6.ebuild 844 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="5"
  4. GCONF_DEBUG="no"
  5. GNOME_ORG_MODULE="NetworkManager-${PN##*-}"
  6. inherit gnome2
  7. DESCRIPTION="NetworkManager Openswan plugin"
  8. HOMEPAGE="https://wiki.gnome.org/Projects/NetworkManager"
  9. LICENSE="GPL-2+"
  10. SLOT="0"
  11. KEYWORDS="amd64 x86"
  12. IUSE="gtk"
  13. RDEPEND="
  14. >=dev-libs/glib-2.32:2
  15. >=dev-libs/libnl-3.2.8:3
  16. >=net-misc/networkmanager-0.9.10:=
  17. >=dev-libs/dbus-glib-0.74
  18. || ( net-misc/openswan net-vpn/libreswan )
  19. gtk? (
  20. app-crypt/libsecret
  21. >=gnome-extra/nm-applet-0.9.10
  22. >=x11-libs/gtk+-3.4:3
  23. )
  24. "
  25. DEPEND="${RDEPEND}
  26. sys-devel/gettext
  27. dev-util/intltool
  28. virtual/pkgconfig
  29. "
  30. src_configure() {
  31. gnome2_src_configure \
  32. --disable-more-warnings \
  33. --disable-static \
  34. --with-dist-version=Gentoo \
  35. $(use_with gtk gnome)
  36. }