volk: use create_wrksrc
This commit is contained in:
parent
874e8104e9
commit
9749029f12
1 changed files with 3 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue