xsnow-1.42-r1.ebuild 901 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=2
  4. inherit toolchain-funcs
  5. DESCRIPTION="snow, reindeer, and santa on the root window"
  6. HOMEPAGE="http://dropmix.xs4all.nl/rick/Xsnow/"
  7. SRC_URI="http://dropmix.xs4all.nl/rick/Xsnow/${P}.tar.gz"
  8. LICENSE="freedist"
  9. SLOT="0"
  10. KEYWORDS="amd64 ppc ppc64 sparc x86 ~x86-fbsd"
  11. IUSE=""
  12. RDEPEND="x11-libs/libX11
  13. x11-libs/libXt
  14. x11-libs/libXext
  15. x11-libs/libXpm"
  16. DEPEND="${RDEPEND}
  17. app-text/rman
  18. x11-misc/imake
  19. x11-misc/gccmakedep
  20. x11-proto/xextproto
  21. x11-proto/xproto"
  22. src_compile() {
  23. xmkmf || die
  24. make depend || die
  25. emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \
  26. LOCAL_LDFLAGS="${LDFLAGS}" || die
  27. }
  28. src_install() {
  29. dobin xsnow || die
  30. rman -f HTML < xsnow._man > xsnow.1-html || die
  31. newman xsnow._man xsnow.1 || die
  32. newdoc xsnow.1-html xsnow.1.html || die
  33. dodoc README || die
  34. }