wdm-1.28-r3.ebuild 970 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=2
  4. inherit eutils pam
  5. DESCRIPTION="WINGs Display Manager"
  6. HOMEPAGE="http://voins.program.ru/wdm/"
  7. SRC_URI="http://voins.program.ru/${PN}/${P}.tar.bz2"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="alpha amd64 ppc ~ppc64 ~sparc x86"
  11. IUSE="truetype pam selinux"
  12. COMMON_DEPEND=">=x11-wm/windowmaker-0.70.0
  13. truetype? ( x11-libs/libXft )
  14. x11-libs/libXmu
  15. x11-libs/libXt
  16. x11-libs/libXpm
  17. pam? ( virtual/pam )"
  18. DEPEND="${COMMON_DEPEND}
  19. sys-devel/gettext"
  20. RDEPEND="${COMMON_DEPEND}
  21. pam? ( >=sys-auth/pambase-20080219.1 )"
  22. src_prepare() {
  23. epatch "${FILESDIR}"/${P}-terminateServer.patch
  24. }
  25. src_configure() {
  26. econf \
  27. --exec-prefix=/usr \
  28. --with-wdmdir=/etc/X11/wdm \
  29. $(use_enable pam) \
  30. $(use_enable selinux)
  31. }
  32. src_install() {
  33. emake DESTDIR="${D}" install || die
  34. rm -f "${D}"/etc/pam.d/wdm
  35. pamd_mimic system-local-login wdm auth account password session
  36. }