source: scripts/untested/blfs-scripts/blfs-which.sh@ 10e90e4

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 10e90e4 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: 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.