source: scripts/untested/blfs-scripts/blfs-nasm.sh@ f118837

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f118837 was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100755
File size: 758 bytes
Line 
1#!/bin/bash
2
3### NASM ###
4cd ${SRC}
5LOG="nasm-blfs.log"
6
7unpack_tarball nasm-${NASM_VER} &&
8cd ${SRC}/${PKGDIR}
9
10# build nasm, bin86 and lilo 32 bit
11case ${TGT_ARCH} in
12 x86_64 ) ARCH_CFLAGS="-m32" ;;
13esac
14
15max_log_init nasm ${NASM_VER} blfs ${CONFLOGS} ${LOG}
16CC="${CC-gcc} ${ARCH_CFLAGS}" CFLAGS="-O2 -pipe" \
17./configure --prefix=/usr \
18 --libexecdir=/usr/lib/nasm \
19 --mandir=/usr/share/man \
20 >> ${LOGFILE} 2>&1 &&
21echo " o Configure OK" &&
22
23min_log_init ${BUILDLOGS} &&
24# should use "make everything" to generate docs, but we don't
25# know if we have ps2pdf yet
26make \
27 >> ${LOGFILE} 2>&1 &&
28echo " o Build OK" &&
29
30min_log_init ${INSTLOGS} &&
31make install \
32 >> ${LOGFILE} &&
33make install_rdf \
34 >> ${LOGFILE} &&
35echo " o ALL OK" || barf
36
Note: See TracBrowser for help on using the repository browser.