32 lines
870 B
Bash
32 lines
870 B
Bash
# Template file for 'libcpuid'
|
|
pkgname=libcpuid
|
|
version=0.7.0
|
|
revision=1
|
|
archs="i686* x86_64*"
|
|
build_style=cmake
|
|
hostmakedepends="doxygen"
|
|
checkdepends="python3"
|
|
short_desc="Small C library for x86 CPU detection and feature extraction"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/anrieff/libcpuid"
|
|
changelog="https://raw.githubusercontent.com/anrieff/libcpuid/master/ChangeLog"
|
|
distfiles="https://github.com/anrieff/libcpuid/archive/v${version}.tar.gz"
|
|
checksum=cfd9e6bcda5da3f602273e55f983bdd747cb93dde0b9ec06560e074939314210
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libcpuid-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/cmake
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|