libsmbios: fix installation.

This commit is contained in:
Juan RP 2015-06-02 16:20:00 +02:00
parent f743a4cd83
commit cbca3b8950
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ only_for_archs="i686 i686-musl x86_64 x86_64-musl"
post_install() {
rm -rf ${DESTDIR}/etc/yum ${DESTDIR}/usr/lib/yum-plugins
rm -rf ${DESTDIR}/libsmbios_c ${DESTDIR}/etc/libsmbios
rm -rf ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/smbios-utils
rm -rf ${DESTDIR}/usr/share/smbios-utils
vmkdir usr/include
cp -r ${wrksrc}/src/include/smbios ${DESTDIR}/usr/include
cp -r ${wrksrc}/src/include/smbios_c ${DESTDIR}/usr/include