diff options
author | Johns <johns98@gmx.net> | 2012-11-30 20:46:13 +0100 |
---|---|---|
committer | Johns <johns98@gmx.net> | 2012-11-30 20:46:13 +0100 |
commit | 932871dea989d9d4d91506c6d9dc98fb713fdabf (patch) | |
tree | cb0ae1dbc804c5db7e0b07d30615f3c6afa75a42 /vdr-softhddevice-9999.ebuild | |
parent | 5ec6963398200f245611347ab4df0bf4ce39b106 (diff) | |
download | vdr-plugin-softhddevice-932871dea989d9d4d91506c6d9dc98fb713fdabf.tar.gz vdr-plugin-softhddevice-932871dea989d9d4d91506c6d9dc98fb713fdabf.tar.bz2 |
Use vdr-plugin-2.
Diffstat (limited to 'vdr-softhddevice-9999.ebuild')
-rw-r--r-- | vdr-softhddevice-9999.ebuild | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/vdr-softhddevice-9999.ebuild b/vdr-softhddevice-9999.ebuild index fe2a1ae..829af77 100644 --- a/vdr-softhddevice-9999.ebuild +++ b/vdr-softhddevice-9999.ebuild @@ -2,9 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="3" +EAPI="4" -inherit eutils vdr-plugin +inherit eutils vdr-plugin-2 if [[ ${PV} == "9999" ]] ; then inherit git-2 @@ -43,7 +43,7 @@ DEPEND=">=x11-libs/libxcb-1.8 " src_prepare() { - vdr-plugin_src_prepare + vdr-plugin-2_src_prepare } src_compile() { @@ -56,19 +56,19 @@ src_compile() { use oss && myconf="${myconf} -DUSE_OSS" use debug && myconf="${myconf} -DDEBUG" - emake all CC="$(tc-getCC)" CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" CONFIG="${myconf}" LIBDIR="." || die -} - -src_install() { - vdr-plugin_src_install + #vdr-plugin-2_src_compile + cd "${S}" - dodoc README.txt + BUILD_TARGETS=${BUILD_TARGETS:-${VDRPLUGIN_MAKE_TARGET:-all}} - #dodir /etc/vdr/plugins || die - #insinto /etc/vdr/plugins - #fowners -R vdr:vdr /etc/vdr || die + emake ${BUILD_PARAMS} CONFIG="${myconf}" \ + ${BUILD_TARGETS} \ + LOCALEDIR="${TMP_LOCALE_DIR}" \ + LIBDIR="${S}" \ + TMPDIR="${T}" \ + || die "emake failed" +} - #insinto /etc/conf.d - #doins vdr.softhddevice +src_install() { + vdr-plugin-2_src_install } |