summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-11 00:48:58 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-11 00:48:58 +0100
commit0a974963abe38bdf75897266c595c501cd32ee20 (patch)
tree8aad4136212adb91c25f7713cfa4020fcbd86b5b /media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild
parentmedia-sound/gimmix: Port to EAPI 7 (diff)
downloadgentoo-0a974963abe38bdf75897266c595c501cd32ee20.tar.gz
gentoo-0a974963abe38bdf75897266c595c501cd32ee20.tar.bz2
gentoo-0a974963abe38bdf75897266c595c501cd32ee20.zip
media-sound/ttaenc: Port to EAPI 7
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild')
-rw-r--r--media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild22
1 files changed, 7 insertions, 15 deletions
diff --git a/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild b/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild
index d7697469bc3e..34f01191dd63 100644
--- a/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild
+++ b/media-sound/ttaenc/ttaenc-3.4.1-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
inherit toolchain-funcs
@@ -12,23 +12,15 @@ SRC_URI="mirror://sourceforge/tta/${P}-src.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE=""
-DEPEND="sys-apps/sed"
+S="${WORKDIR}/${P}-src"
+PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch )
-S=${WORKDIR}/${P}-src
-
-src_prepare() {
- sed -i -e "s:gcc:$(tc-getCC):g" \
- -e "s:-o:${LDFLAGS} -o:g" \
- Makefile || die
-}
-
-src_compile () {
- emake CFLAGS="${CFLAGS}"
+src_configure() {
+ tc-export CC
}
-src_install () {
+src_install() {
dobin ttaenc
dodoc ChangeLog-${PV} README
}