source: scripts/untested/blfs-scripts/blfs-which.sh @ 617118d

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: 575 bytes
Line 
1#!/bin/bash
2
3### which ###
4
5cd ${SRC}
6LOG=which-blfs.log
7
8set_libdirname
9setup_multiarch
10
11unpack_tarball which-${WHICH_VER}
12cd ${PKGDIR}
13
14max_log_init which ${WHICH_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
15CC="${CC-gcc} ${ARCH_CFLAGS}" \
16CFLAGS="${TGT_CFLAGS}" \
17./configure --prefix=/usr \
18   --mandir=/usr/share/man --infodir=/usr/share/info \
19   >> ${LOGFILE} 2>&1 &&
20echo " o Configure OK" &&
21
22min_log_init ${BUILDLOGS} &&
23make \
24   >> ${LOGFILE} 2>&1 &&
25echo " o Build OK" &&
26
27min_log_init ${INSTLOGS} &&
28make install \
29   >> ${LOGFILE} 2>&1 &&
30echo " o ALL OK" || barf
31
Note: See TracBrowser for help on using the repository browser.