diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-02 21:45:28 +0100 |
commit | 2018227e9344edb9da15fc6a4a8298086cc2aa77 (patch) | |
tree | c18e1c09e605e94e2a1e93345ad25746cc9e14b9 /media-sound/vb2rip/vb2rip-1.4.ebuild | |
parent | 6f8038813c460b4f0572d5ef595cdfa94af3a94d (diff) |
gentoo resync : 02.06.2019
Diffstat (limited to 'media-sound/vb2rip/vb2rip-1.4.ebuild')
-rw-r--r-- | media-sound/vb2rip/vb2rip-1.4.ebuild | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/media-sound/vb2rip/vb2rip-1.4.ebuild b/media-sound/vb2rip/vb2rip-1.4.ebuild index 0ee16ac10e2d..e9bacb5a23df 100644 --- a/media-sound/vb2rip/vb2rip-1.4.ebuild +++ b/media-sound/vb2rip/vb2rip-1.4.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=0 +EAPI=7 -inherit versionator toolchain-funcs +inherit toolchain-funcs -MY_PV=$(replace_version_separator '') +MY_PV=${PV//./} DESCRIPTION="Konami VB2 sound format ripping utility" HOMEPAGE="http://www.neillcorlett.com/vb2rip" @@ -14,20 +14,18 @@ SRC_URI="http://www.neillcorlett.com/vb2rip/${PN}${MY_PV}.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" -DEPEND="app-arch/unzip" +BDEPEND="app-arch/unzip" S=${WORKDIR}/src -src_compile() { +PATCHES=( "${FILESDIR}"/${PN}-1.4-makefile.patch ) + +src_configure() { 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 || die - dodoc "${WORKDIR}/games.txt" "${WORKDIR}/vb2rip.txt" + dobin vb2rip + dodoc "${WORKDIR}"/{games.txt,vb2rip.txt} } |