smlinux/base/nasm/nasm.SMBuild
PktSurf 1a260f04ce Disabled native language support (nls) in:
-> base/gdb,gdbm,glib,iso-codes,libgpg-error,
-> libidn2,libqalculate,popt,procps-ng,sudo,sysstat,texinfo,xz
Made fixes to a bunch of base build files to put stuff in /usr
2024-10-18 10:50:11 +05:30

34 lines
734 B
Text
Executable file

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=nasm
version=2.14.02
build=1sml
homepage="https://www.nasm.us/"
download="https://www.nasm.us/pub/nasm/releasebuilds/$version/nasm-$version.tar.xz"
desc="Netwide assembler providing instruction mnemonics and syntax"
requires="musl"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix=/usr \
--bindir=/bin
make
make install DESTDIR=$pkg
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
760e44e99737cf5609c13b365a0d9edcb31bd767e6906f53e9134c507edd4b722ef11f230450b0065820b5a9d5fa3e36dc13407dc2747b6e5afaa48a28b0ea41 nasm-2.14.02.tar.lz
"