wmdate-0.7-r1.ebuild 918 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils toolchain-funcs
  5. DESCRIPTION="yet another date-display dock application"
  6. HOMEPAGE="http://solfertje.student.utwente.nl/~dalroi/applications.php"
  7. SRC_URI="http://solfertje.student.utwente.nl/~dalroi/${PN}/files/${P}.tar.gz"
  8. LICENSE="BSD"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
  11. IUSE=""
  12. RDEPEND=">=x11-libs/libdockapp-0.7:=
  13. x11-libs/libX11
  14. x11-libs/libXext
  15. x11-libs/libXpm"
  16. DEPEND="${RDEPEND}
  17. x11-misc/gccmakedep
  18. x11-misc/imake"
  19. src_prepare() {
  20. epatch "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch
  21. sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die
  22. }
  23. src_configure() {
  24. xmkmf || die "xmkmf failed."
  25. }
  26. src_compile() {
  27. emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \
  28. LDOPTIONS="${LDFLAGS}"
  29. }
  30. src_install() {
  31. dobin ${PN}
  32. dodoc Changelog README
  33. }