Closes: https://bugs.gentoo.org/711172
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Wilson Michaels <thebitpit@earthlink.net>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
src_install() {
emake STRIP="true" INSTALL_ROOT="${D}" install
dodoc AUTHORS UPGRADING README
+ use python && python_optimize # does all packages by default
readme.gentoo_create_doc
insinto /usr/share/mythtv/database
done
# Ensure that Python scripts are executed by Python 2
- python_fix_shebang "${ED}/usr/share/mythtv"
+ use python && python_fix_shebang "${ED}/usr/share/mythtv"
# Make shell & perl scripts executable
find "${ED}" -type f -name '*.sh' -o -type f -name '*.pl' | \
src_install() {
emake STRIP="true" INSTALL_ROOT="${D}" install
- python_optimize # does all packages by default
+ use python && python_optimize # does all packages by default
dodoc AUTHORS UPGRADING README
readme.gentoo_create_doc
-exec chmod a+x {} \; || die "Failed to make python file $(basename ${file}) executable"
# Ensure that Python scripts are executed by Python 2
- python_fix_shebang "${ED}/usr/share/mythtv"
+ use python && python_fix_shebang "${ED}/usr/share/mythtv"
# Make shell & perl scripts executable
find "${ED}" -type f \( -name '*.sh' -o -name '*.pl' \) -exec chmod a+x {} \; || die "Failed to make script executable"