1 |
ssuominen 09/06/01 17:58:40 |
2 |
|
3 |
Modified: xwax-0.4.ebuild |
4 |
Log: |
5 |
Fix repoman warning |
6 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 media-sound/xwax/xwax-0.4.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: xwax-0.4.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- xwax-0.4.ebuild 15 Sep 2008 17:32:52 -0000 1.2 |
22 |
+++ xwax-0.4.ebuild 1 Jun 2009 17:58:40 -0000 1.3 |
23 |
@@ -1,7 +1,8 @@ |
24 |
# Copyright 1999-2008 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild,v 1.2 2008/09/15 17:32:52 pvdabeel Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xwax/xwax-0.4.ebuild,v 1.3 2009/06/01 17:58:40 ssuominen Exp $ |
28 |
|
29 |
+EAPI=2 |
30 |
inherit eutils |
31 |
|
32 |
DESCRIPTION="Digital vinyl emulation software" |
33 |
@@ -13,38 +14,28 @@ |
34 |
KEYWORDS="~amd64 ~ppc ~x86" |
35 |
IUSE="alsa" |
36 |
|
37 |
-DEPEND="media-libs/libsdl |
38 |
+RDEPEND="media-libs/libsdl |
39 |
media-libs/sdl-ttf |
40 |
media-fonts/ttf-bitstream-vera |
41 |
alsa? ( media-libs/alsa-lib )" |
42 |
+DEPEND="${RDEPEND}" |
43 |
|
44 |
-DOCS="README" |
45 |
- |
46 |
-src_unpack() { |
47 |
- unpack ${A} |
48 |
- |
49 |
- cd "${S}" |
50 |
+src_prepare() { |
51 |
# Fix fonts directory in source |
52 |
epatch "${FILESDIR}/${P}-fonts.patch" |
53 |
# Remove the 'CFLAGS += -Wall -03' line from Makefile |
54 |
# Add LDFLAGS to Makefile |
55 |
sed -i -e 's:^CFLAGS:#CFLAGS:' \ |
56 |
-e 's:\($(CC) .* $(DEVICE_LIBS)\):\1 $(LDFLAGS):' \ |
57 |
- Makefile |
58 |
+ Makefile || die "sed failed" |
59 |
} |
60 |
|
61 |
-src_compile() { |
62 |
- econf $(use_enable alsa) || die "econf failed" |
63 |
- |
64 |
- emake || die "emake failed" |
65 |
+src_configure() { |
66 |
+ econf \ |
67 |
+ $(use_enable alsa) |
68 |
} |
69 |
|
70 |
src_install() { |
71 |
- # Manually install into ${D}/usr/bin |
72 |
- exeinto "/usr/bin" |
73 |
- |
74 |
- doexe xwax |
75 |
- doexe xwax_import |
76 |
- # Install documentation |
77 |
- dodoc ${DOCS} |
78 |
+ dobin xwav xwav_import |
79 |
+ dodoc README |
80 |
} |