clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change
on this file since 617118d was
617118d,
checked in by Jim Gifford <clfs@…>, 18 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
|
Rev | Line | |
---|
[617118d] | 1 | #!/bin/bash |
---|
| 2 | |
---|
| 3 | ### NASM ### |
---|
| 4 | cd ${SRC} |
---|
| 5 | LOG="nasm-blfs.log" |
---|
| 6 | |
---|
| 7 | unpack_tarball nasm-${NASM_VER} && |
---|
| 8 | cd ${SRC}/${PKGDIR} |
---|
| 9 | |
---|
| 10 | # build nasm, bin86 and lilo 32 bit |
---|
| 11 | case ${TGT_ARCH} in |
---|
| 12 | x86_64 ) ARCH_CFLAGS="-m32" ;; |
---|
| 13 | esac |
---|
| 14 | |
---|
| 15 | max_log_init nasm ${NASM_VER} blfs ${CONFLOGS} ${LOG} |
---|
| 16 | CC="${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 && |
---|
| 21 | echo " o Configure OK" && |
---|
| 22 | |
---|
| 23 | min_log_init ${BUILDLOGS} && |
---|
| 24 | # should use "make everything" to generate docs, but we don't |
---|
| 25 | # know if we have ps2pdf yet |
---|
| 26 | make \ |
---|
| 27 | >> ${LOGFILE} 2>&1 && |
---|
| 28 | echo " o Build OK" && |
---|
| 29 | |
---|
| 30 | min_log_init ${INSTLOGS} && |
---|
| 31 | make install \ |
---|
| 32 | >> ${LOGFILE} && |
---|
| 33 | make install_rdf \ |
---|
| 34 | >> ${LOGFILE} && |
---|
| 35 | echo " o ALL OK" || barf |
---|
| 36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.