public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-sound/xwax: xwax-0.4.ebuild
@ 2009-06-01 17:58 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2009-06-01 17:58 UTC (permalink / raw
  To: gentoo-commits

ssuominen    09/06/01 17:58:40

  Modified:             xwax-0.4.ebuild
  Log:
  Fix repoman warning
  (Portage version: 2.1.6.13/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  media-sound/xwax/xwax-0.4.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild?r1=1.2&r2=1.3

Index: xwax-0.4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xwax-0.4.ebuild	15 Sep 2008 17:32:52 -0000	1.2
+++ xwax-0.4.ebuild	1 Jun 2009 17:58:40 -0000	1.3
@@ -1,7 +1,8 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild,v 1.2 2008/09/15 17:32:52 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild,v 1.3 2009/06/01 17:58:40 ssuominen Exp $
 
+EAPI=2
 inherit eutils
 
 DESCRIPTION="Digital vinyl emulation software"
@@ -13,38 +14,28 @@
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="alsa"
 
-DEPEND="media-libs/libsdl
+RDEPEND="media-libs/libsdl
 	media-libs/sdl-ttf
 	media-fonts/ttf-bitstream-vera
 	alsa? ( media-libs/alsa-lib )"
+DEPEND="${RDEPEND}"
 
-DOCS="README"
-
-src_unpack() {
-	unpack ${A}
-
-	cd "${S}"
+src_prepare() {
 	# Fix fonts directory in source
 	epatch "${FILESDIR}/${P}-fonts.patch"
 	# Remove the 'CFLAGS += -Wall -03' line from Makefile
 	# Add LDFLAGS to Makefile
 	sed -i -e 's:^CFLAGS:#CFLAGS:' \
 		-e 's:\($(CC) .* $(DEVICE_LIBS)\):\1 $(LDFLAGS):' \
-		Makefile
+		Makefile || die "sed failed"
 }
 
-src_compile() {
-	econf $(use_enable alsa) || die "econf failed"
-
-	emake || die "emake failed"
+src_configure() {
+	econf \
+		$(use_enable alsa)
 }
 
 src_install() {
-	# Manually install into ${D}/usr/bin
-	exeinto "/usr/bin"
-
-	doexe xwax
-	doexe xwax_import
-	# Install documentation
-	dodoc ${DOCS}
+	dobin xwav xwav_import
+	dodoc README
 }






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-01 17:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-01 17:58 [gentoo-commits] gentoo-x86 commit in media-sound/xwax: xwax-0.4.ebuild Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox