summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-12-20 03:12:04 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-12-20 03:12:04 +0000
commit0582c65082ce723e31fd458400c437cb2d94a9d4 (patch)
tree1c5d39491691e30182c6ad6ee538a1f6f0a380cb /media-sound/vb2rip
parentVersion bump. (diff)
downloadgentoo-2-0582c65082ce723e31fd458400c437cb2d94a9d4.tar.gz
gentoo-2-0582c65082ce723e31fd458400c437cb2d94a9d4.tar.bz2
gentoo-2-0582c65082ce723e31fd458400c437cb2d94a9d4.zip
honour CC,CFLAGS,LDFLAGS, bug #240834, dont prestrip files, add a die to dobin, quote workdir, keyword ~amd64
(Portage version: 2.2_rc17/cvs/Linux 2.6.27.10 x86_64)
Diffstat (limited to 'media-sound/vb2rip')
-rw-r--r--media-sound/vb2rip/ChangeLog8
-rw-r--r--media-sound/vb2rip/vb2rip-1.4.ebuild15
2 files changed, 15 insertions, 8 deletions
diff --git a/media-sound/vb2rip/ChangeLog b/media-sound/vb2rip/ChangeLog
index 420c7a4211d3..fecb8532e7e2 100644
--- a/media-sound/vb2rip/ChangeLog
+++ b/media-sound/vb2rip/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/vb2rip
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vb2rip/ChangeLog,v 1.4 2007/02/09 08:00:34 flameeyes Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vb2rip/ChangeLog,v 1.5 2008/12/20 03:12:04 aballier Exp $
+
+ 20 Dec 2008; Alexis Ballier <aballier@gentoo.org> vb2rip-1.4.ebuild:
+ honour CC,CFLAGS,LDFLAGS, bug #240834, dont prestrip files, add a die to
+ dobin, quote workdir, keyword ~amd64
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/media-sound/vb2rip/vb2rip-1.4.ebuild b/media-sound/vb2rip/vb2rip-1.4.ebuild
index 39423c1b7a62..53314a39687c 100644
--- a/media-sound/vb2rip/vb2rip-1.4.ebuild
+++ b/media-sound/vb2rip/vb2rip-1.4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vb2rip/vb2rip-1.4.ebuild,v 1.2 2005/07/25 19:16:38 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vb2rip/vb2rip-1.4.ebuild,v 1.3 2008/12/20 03:12:04 aballier Exp $
-inherit versionator
+inherit versionator toolchain-funcs
MY_PV=$(replace_version_separator '')
@@ -12,7 +12,7 @@ SRC_URI="http://www.neillcorlett.com/vb2rip/${PN}${MY_PV}.zip"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="app-arch/unzip"
@@ -20,10 +20,13 @@ DEPEND="app-arch/unzip"
S=${WORKDIR}/src
src_compile() {
+ tc-export CC
+ echo "vb2rip: main.o decode.o wav.o lsb.o rip.o fmt.o fmt_raw.o fmt_vb2.o fmt_8.o fmt_msa.o fmt_xa2.o" > Makefile
+ echo ' $(CC) $(LDFLAGS) $^ -o $@' >> Makefile
emake || die
}
src_install() {
- dobin vb2rip
- dodoc ${WORKDIR}/games.txt ${WORKDIR}/vb2rip.txt
+ dobin vb2rip || die
+ dodoc "${WORKDIR}/games.txt" "${WORKDIR}/vb2rip.txt"
}