1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils multilib toolchain-funcs
8 DESCRIPTION="WindowMaker sound server"
9 HOMEPAGE="http://largo.windowmaker.org/"
10 SRC_URI="http://largo.windowmaker.org/files/${P}.tar.gz"
12 RDEPEND="media-sound/wmsound-data
26 "${FILESDIR}"/${PN}-config.patch \
27 "${FILESDIR}"/${PN}-ComplexProgramTargetNoMan.patch
29 # Fix building with -Wl,--as-needed
31 -e 's:-lPropList $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList:' \
34 -e 's:-lPropList $(XLIB) $(WMSOUNDLIB):$(WMSOUNDLIB) -lPropList $(XLIB):' \
35 utils/Imakefile || die
40 emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" LDOPTIONS="${LDFLAGS}"
44 emake PREFIX="${D}/usr" USRLIBDIR="${D}/usr/$(get_libdir)" install
45 dodoc AUTHORS BUGS ChangeLog