diff options
-rw-r--r-- | sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild (renamed from sys-libs/libsmbios/libsmbios-2.3.0.ebuild) | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys-libs/libsmbios/libsmbios-2.3.0.ebuild b/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild index 8cceca9a761b..495b64e6a3b9 100644 --- a/sys-libs/libsmbios/libsmbios-2.3.0.ebuild +++ b/sys-libs/libsmbios/libsmbios-2.3.0-r1.ebuild @@ -43,6 +43,9 @@ src_prepare() { >pkg/py-compile + # Don't build yum-plugin - we don't need it + sed '/yum-plugin/d' -i Makefile.am || die + eautoreconf } @@ -61,14 +64,12 @@ src_configure() { src_install() { emake install DESTDIR="${D}" - rm -r "${D}etc/yum" || die - rm -r "${D}usr/lib/yum-plugins" || die if ! use python ; then - rmdir "${D}libsmbios_c" "${D}usr/share/smbios-utils" || die - rm -r "${D}etc" || die + rmdir "${ED%/}/libsmbios_c" "${ED%/}/usr/share/smbios-utils" || die + rm -r "${ED%/}/etc" || die else local python_scriptroot="/usr/sbin" - python_doscript "${D}"/usr/sbin/smbios-{lcd-brightness,passwd,rbu-bios-update,sys-info,token-ctl,wakeup-ctl,wireless-ctl} + python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,rbu-bios-update,sys-info} fi insinto /usr/include/ |