1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- set -e
- program=nasm
- version=2.15
- release=1
- pkgcategory=devel
- tarname=${program}-${version}.tar.bz2
- fetch=https://www.nasm.us/pub/nasm/releasebuilds/$version/$tarname
- description="
- A free portable assembler.
- Designed for the Intel 80x86 microprocessor series, using primarily the
- traditional Intel instruction mnemonics and syntax.
- "
- homepage=https://nasm.us
- license=BSD
- docs="AUTHORS CHANGES ChangeLog LICENSE README.md"
- docsdir="${docdir}/${program}-${version}"
- build()
- {
- unpack "${tardir}/$tarname"
- cd "$srcdir"
-
- chmod -R u+w,go-w,a+rX-s .
- ./configure CPPFLAGS="$QICPPFLAGS" CFLAGS="$QICFLAGS" LDFLAGS="$QILDFLAGS" \
- $configure_args \
- --mandir=$mandir \
- --docdir=$docsdir \
- --disable-pdf-compression \
- --enable-sections \
- --build="$(gcc -dumpmachine)"
- make -j${jobs} V=1
- make -j${jobs} DESTDIR="$destdir" install install_rdf
-
- lzip -9 "${destdir}/${mandir}/"man1/*.1
-
- mkdir -p "${destdir}/$docsdir"
- cp -p $docs "${destdir}/$docsdir"
- }
|