1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="SiliconDust HDHomeRun Utilties"
9 HOMEPAGE="https://www.silicondust.com/support/linux/"
10 SRC_URI="https://download.silicondust.com/hdhomerun/${PN}_${PV}.tgz"
14 KEYWORDS="~amd64 ~x86"
17 "${FILESDIR}/${PV}-use_shared_library.patch"
24 #Remove forced optimization from Makefile
25 sed -i 's:-O2::' Makefile || die "Was the Makefile changed?"
29 emake CC=$(tc-getCC) STRIP=:
33 dobin hdhomerun_config
34 dolib.so libhdhomerun.so
36 insinto /usr/include/hdhomerun