clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 1c9c5c3 was 1c9c5c3, checked in by Jim Gifford <clfs@…>, 19 years ago |
r624@server (orig r622): jim | 2005-10-31 12:40:28 -0800
Rearranging Archive
|
-
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.