wmsvencd-0.5.0.ebuild 731 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. inherit eutils
  4. DESCRIPTION="Window Maker Dockable CD-Player with CDDB"
  5. HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
  6. SRC_URI="mirror://gentoo/${P}.tar.gz"
  7. DEPEND="
  8. x11-wm/windowmaker
  9. x11-libs/libXpm"
  10. RDEPEND="${DEPEND}"
  11. SLOT="0"
  12. LICENSE="GPL-2"
  13. KEYWORDS="x86 ~ppc"
  14. IUSE=""
  15. src_unpack() {
  16. unpack ${A}
  17. cd "${S}"
  18. epatch "${FILESDIR}"/wmsvencd-compile.patch
  19. sed -i 's:c++ -o:c++ $(LDFLAGS) -o:' Makefile
  20. }
  21. src_compile() {
  22. emake CFLAGS="${CFLAGS} -fno-strength-reduce" || die "make failed"
  23. }
  24. src_install() {
  25. newman wmsvencd.1x wmsvencd.1
  26. dobin wmsvencd
  27. dodoc README
  28. domenu "${FILESDIR}"/${PN}.desktop
  29. }