---- configure.in
-+++ configure.in
+--- a/configure.in
++++ b/configure.in
@@ -83,22 +83,29 @@
dnl -- configure options --
AC_SUBST(LIBTOOL_DEPS)
AC_SUBST(OPT)
AC_SUBST(LIBS)
---- src/Makefile.am
-+++ src/Makefile.am
+--- a/src/Makefile.am
++++ b/src/Makefile.am
@@ -17,5 +17,6 @@
INCLUDES = -I$(srcdir)/liboddcast -I$(srcdir)/libtranscoder
+install-data-hook:
+ $(INSTALL) -d $(DESTDIR)$(sysconfdir)
+ $(INSTALL) -m644 transcoder.cfg $(DESTDIR)$(sysconfdir)/transcoder.cfg
---- src/libtranscoder/transcurl.cpp
-+++ src/libtranscoder/transcurl.cpp
+--- a/src/libtranscoder/transcurl.cpp
++++ b/src/libtranscoder/transcurl.cpp
@@ -18,7 +18,6 @@
#include <winsock2.h>
#endif
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=6
-inherit autotools eutils
+inherit autotools
-DESCRIPTION="Command line application to transcode shoutcast/icecast streams to different bitrates"
+DESCRIPTION="Commandline program to transcode shoutcast/icecast streams to different bitrates"
HOMEPAGE="http://www.oddsock.org"
SRC_URI="http://www.oddsock.org/tools/streamTranscoder/${P}.tar.gz"
DEPEND="${RDEPEND}
virtual/pkgconfig"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-build.patch
- eautoreconf
-}
+PATCHES=( "${FILESDIR}"/${P}-build.patch )
-src_install() {
+src_prepare() {
default
- dodoc AUTHORS README
+ mv configure.{in,ac} || die
+ eautoreconf
}
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
+EAPI=6
+
MY_P=${PN}v3-${PV}
-DESCRIPTION="Command line application to transcode shoutcast/icecast streams to different bitrates"
+DESCRIPTION="Commandline program to transcode shoutcast/icecast streams to different bitrates"
HOMEPAGE="http://www.oddsock.org/tools/streamTranscoderV3"
SRC_URI="http://www.oddsock.org/tools/streamTranscoderV3/${MY_P}.tar.gz"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${MY_P}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed."
- dodoc AUTHORS
-}