aewm-1.3.12.ebuild 964 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils toolchain-funcs
  5. DESCRIPTION="A minimalistic X11 window manager"
  6. HOMEPAGE="http://www.red-bean.com/~decklin/software/aewm/"
  7. SRC_URI="${HOMEPAGE}${P}.tar.bz2"
  8. LICENSE="MIT 9wm"
  9. SLOT="0"
  10. KEYWORDS="amd64 ppc x86 ~x86-fbsd"
  11. RDEPEND="
  12. dev-libs/glib:2
  13. x11-libs/gtk+:2
  14. x11-libs/libX11
  15. x11-libs/libXext
  16. x11-libs/libXft
  17. "
  18. DEPEND="
  19. ${RDEPEND}
  20. virtual/pkgconfig
  21. x11-proto/xextproto
  22. x11-proto/xproto
  23. "
  24. src_prepare() {
  25. epatch "${FILESDIR}"/${P}-gentoo.patch
  26. sed -i -e '/^font/s|".*"|"fixed"|g' doc/aewmrc.ex || die
  27. sed -i -e 's|skill|pkill|g' doc/clientsrc.ex || die
  28. }
  29. src_compile() {
  30. emake \
  31. CC="$(tc-getCC)" \
  32. CFLAGS="${CFLAGS}" \
  33. LDFLAGS="${LDFLAGS}" \
  34. PKG_CONFIG="$(tc-getPKG_CONFIG)"
  35. }
  36. src_install() {
  37. emake \
  38. DESTDIR="${D}" \
  39. MANDIR="${D}/usr/share/man/man1" \
  40. XROOT="/usr" \
  41. install
  42. dodoc NEWS README
  43. }