Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533330 - net-wireless/rtl-sdr-0.5.3 installs documentation outside /usr/share/doc/${PF}
Summary: net-wireless/rtl-sdr-0.5.3 installs documentation outside /usr/share/doc/${PF}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Radio project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-12-22 19:42 UTC by Chris Mayo
Modified: 2014-12-23 18:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2014-12-22 19:42:18 UTC
$ ls /usr/share/doc/librtlsdr/librtlsdr-UNKNOWN/
html


Fixed for me with:

--- rtl-sdr-0.5.3.ebuild.orig
+++ rtl-sdr-0.5.3.ebuild
@@ -37,9 +37,14 @@
 }
 
 src_prepare() {
+	sed -i "s:pkgdocdir:docdir:g" Makefile.am || die
 	eautoreconf
 }
 
+src_configure() {
+	econf --docdir=/usr/share/doc/${PF}
+}
+
 pkg_postinst() {
 	local rulesfiles=( "${EPREFIX}"/etc/udev/rules.d/*${PN}.rules )
 	if [[ ! -f ${rulesfiles} ]]; then
Comment 1 Thomas Beierlein gentoo-dev 2014-12-23 18:17:32 UTC
Fixed. Thanks for reporting.

+  23 Dec 2014; Thomas Beierlein <tomjbe@gentoo.org> rtl-sdr-0.5.3.ebuild,
+  rtl-sdr-9999.ebuild:
+  Fix docdir (bug 533330)
+