source: scripts/native-scripts/native-mktemp.sh @ 7ed0e05

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 7ed0e05 was f5aa871, checked in by Jim Gifford <clfs@…>, 18 years ago

r582@server (orig r580): ryan | 2005-08-05 21:42:59 -0700
First in a pile of stuff to sync up...


Add mktemp build to build-native



  • Property mode set to 100755
File size: 569 bytes
Line 
1#!/bin/bash
2
3### MKTEMP ###
4cd ${SRC}
5LOG="mktemp-native.log"
6set_libdirname
7setup_multiarch
8
9unpack_tarball mktemp-${MKTEMP_VER} &&
10cd ${PKGDIR}
11
12apply_patch mktemp-1.5-add_tempfile-1
13
14max_log_init mktemp ${MKTEMP_VER} native ${CONFLOGS} ${LOG}
15CC="${CC-gcc} ${ARCH_CFLAGS}" CFLAGS="-O2 -pipe" \
16./configure --prefix=/usr \
17   --enable-libc \
18   >> ${LOGFILE} 2>&1 &&
19echo " o Configure OK" &&
20
21min_log_init ${BUILDLOGS} &&
22make \
23   >> ${LOGFILE} 2>&1 &&
24echo " o Build OK" &&
25
26min_log_init ${INSTLOGS} &&
27make install \
28   >> ${LOGFILE} &&
29echo " o ALL OK" || barf
30
Note: See TracBrowser for help on using the repository browser.