volk: use create_wrksrc
This commit is contained in:
@@ -3,6 +3,7 @@ pkgname=volk
|
||||
version=2.5.2
|
||||
revision=1
|
||||
_cpu_features_gitrev="188d0d3c383689cdb6bb70dc6da2469faec84f61"
|
||||
create_wrksrc=yes
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config python3-cheetah3 git python3-Mako python3-six"
|
||||
makedepends="python3-cheetah3 python3-devel python3-Mako python3-six"
|
||||
@@ -21,8 +22,9 @@ case "$XBPS_TARGET_MACHINE" in
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
mv volk-$version/* .
|
||||
rm -rf cpu_features
|
||||
mv ../cpu_features-${_cpu_features_gitrev} cpu_features
|
||||
mv cpu_features-${_cpu_features_gitrev} cpu_features
|
||||
}
|
||||
|
||||
volk-devel_package() {
|
||||
|
||||
Reference in New Issue
Block a user