29 lines
766 B
Bash
29 lines
766 B
Bash
# Template file for 'libcpuid'
|
|
pkgname=libcpuid
|
|
version=0.5.0
|
|
revision=1
|
|
archs="i686* x86_64*"
|
|
build_style=cmake
|
|
hostmakedepends="doxygen"
|
|
short_desc="Small C library for x86 CPU detection and feature extraction"
|
|
maintainer="cr6git <quark6@protonmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/anrieff/libcpuid"
|
|
distfiles="https://github.com/anrieff/libcpuid/archive/v${version}.tar.gz"
|
|
checksum=49893f31475510aa0ebe2ad3a29fad95e2a592cc5f48451c95271c536f89a157
|
|
|
|
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
|
|
}
|
|
}
|