diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-28 08:31:11 +0100 |
commit | ad6182343997a405079870a2fe91c4e0c6b94595 (patch) | |
tree | 4aa7483cd0ad7de54338afc8e7971417abe1dd81 /media-libs/libhdhomerun/libhdhomerun-20190621.ebuild | |
parent | e8f81810baa21f490d6910e8e2d424546b72a333 (diff) |
gentoo resync : 25.09.2019
Diffstat (limited to 'media-libs/libhdhomerun/libhdhomerun-20190621.ebuild')
-rw-r--r-- | media-libs/libhdhomerun/libhdhomerun-20190621.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/media-libs/libhdhomerun/libhdhomerun-20190621.ebuild b/media-libs/libhdhomerun/libhdhomerun-20190621.ebuild new file mode 100644 index 000000000000..6ce4dafdd0c8 --- /dev/null +++ b/media-libs/libhdhomerun/libhdhomerun-20190621.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="SiliconDust HDHomeRun Utilties" +HOMEPAGE="https://www.silicondust.com/support/linux/" +SRC_URI="https://download.silicondust.com/hdhomerun/${PN}_${PV}.tgz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}/${PV}-use_shared_library.patch" +) + +S="${WORKDIR}/${PN}" + +src_prepare() { + default + #Remove forced optimization from Makefile + sed -i 's:-O2::' Makefile || die "Was the Makefile changed?" +} + +src_compile() { + emake CC=$(tc-getCC) STRIP=: +} + +src_install() { + dobin hdhomerun_config + dolib.so libhdhomerun.so + + insinto /usr/include/hdhomerun + doins *.h +} |