libsmbios: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 16:18:32 +02:00
parent 5da4a3a060
commit f743a4cd83
1 changed files with 4 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# Template file for 'libsmbios' # Template file for 'libsmbios'
pkgname=libsmbios pkgname=libsmbios
version=2.2.28 version=2.2.28
revision=4 revision=5
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --disable-python" configure_args="--sbindir=/usr/bin --disable-static --disable-python"
hostmakedepends="pkg-config perl" hostmakedepends="pkg-config perl"
makedepends="libxml2-devel" makedepends="libxml2-devel"
short_desc="Library for SMBIOS access" short_desc="Library for SMBIOS access"
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://linux.dell.com/$pkgname/download/$pkgname/$pkgname-$version/$pkgname-$version.tar.bz2" distfiles="http://linux.dell.com/$pkgname/download/$pkgname/$pkgname-$version/$pkgname-$version.tar.bz2"
checksum=dd247fd43296df3352435b090dd789a22a89c4b316e98b46b915323290a3e350 checksum=dd247fd43296df3352435b090dd789a22a89c4b316e98b46b915323290a3e350
only_for_archs="i686 x86_64" only_for_archs="i686 i686-musl x86_64 x86_64-musl"
post_install() { post_install() {
rm -rf ${DESTDIR}/etc/yum ${DESTDIR}/usr/lib/yum-plugins rm -rf ${DESTDIR}/etc/yum ${DESTDIR}/usr/lib/yum-plugins
@ -34,10 +34,9 @@ libsmbios-devel_package() {
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
} }
} }
libsmbios-utils_package() { libsmbios-utils_package() {
short_desc+=" - utilities" short_desc+=" - utilities"
pkg_install() { pkg_install() {
vmove usr/sbin vmove usr/bin
} }
} }