wmCalClock-1.25-r2.ebuild 877 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils multilib toolchain-funcs
  4. DESCRIPTION="WMaker DockApp: A Calendar clock with antialiased text"
  5. SRC_URI="http://dockapps.windowmaker.org/download.php/id/16/${P}.tar.gz"
  6. HOMEPAGE="http://dockapps.windowmaker.org/file.php/id/9"
  7. RDEPEND="x11-libs/libX11
  8. x11-libs/libXext
  9. x11-libs/libXpm"
  10. DEPEND="${RDEPEND}
  11. x11-proto/xproto
  12. x11-proto/xextproto"
  13. SLOT="0"
  14. LICENSE="GPL-2"
  15. KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86"
  16. IUSE=""
  17. S="${WORKDIR}/${P}/Src"
  18. src_unpack() {
  19. unpack ${A}
  20. cd "${S}"
  21. epatch "${FILESDIR}"/${P}-makefile.patch
  22. }
  23. src_compile() {
  24. emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "Compilation failed"
  25. }
  26. src_install() {
  27. emake DESTDIR="${D}" install || die "install failed"
  28. dodoc ../{BUGS,CHANGES,HINTS,README,TODO}
  29. }