mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 11:16:27 +02:00
pkg(nasm-2.15.5): Add nasm 2.15.5
This commit is contained in:
parent
a5ba0f5ee6
commit
05dc79d9f8
7 changed files with 90 additions and 0 deletions
20
packages/nasm/2.15.5/build.sh
vendored
Executable file
20
packages/nasm/2.15.5/build.sh
vendored
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to build your package in here
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
curl -L "https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.gz" -o nasm.tar.gz
|
||||
|
||||
tar xzf nasm.tar.gz --strip-components=1
|
||||
|
||||
# === autoconf based ===
|
||||
./configure --prefix "$PREFIX"
|
||||
|
||||
make -j$(nproc)
|
||||
make install -j$(nproc)
|
||||
cd ../
|
||||
rm -rf build
|
Loading…
Add table
Add a link
Reference in a new issue