mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
warsow: restrict to x86 (close #4099).
This commit is contained in:
parent
33f402d984
commit
7d0f864810
1 changed files with 1 additions and 6 deletions
|
@ -19,11 +19,7 @@ homepage="http://www.warsow.net/"
|
||||||
distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
|
distfiles="http://mirror.null.one/warsow_${version/./}_sdk.tar.gz"
|
||||||
checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
|
checksum=99c88bc08f5e6055d28534de6e84fc204026dda51dc31e22caca1977f199453a
|
||||||
|
|
||||||
post_extract() {
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
||||||
if [ "$XBPS_TARGET_MACHINE" != "i686" -a "$XBPS_TARGET_MACHINE" != "x86_64" ]; then
|
|
||||||
sed -i 's/-msse2//' source/source/CMakeLists.txt
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
# Move Compiled Data to Destination Directory
|
# Move Compiled Data to Destination Directory
|
||||||
|
@ -32,7 +28,6 @@ do_install() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*) _arch=x86_64 ;;
|
x86_64*) _arch=x86_64 ;;
|
||||||
i686*) _arch=i686 ;;
|
i686*) _arch=i686 ;;
|
||||||
# arm*) _arch=arm ;; # XXX
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
vinstall "build/warsow.$_arch" 0755 /usr/share/warsow warsow
|
vinstall "build/warsow.$_arch" 0755 /usr/share/warsow warsow
|
||||||
|
|
Loading…
Add table
Reference in a new issue