source: scripts/untested/blfs-scripts/blfs-sharutils.sh@ def3913

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since def3913 was c0a1333, checked in by Jim Gifford <clfs@…>, 19 years ago

r576@server (orig r574): ryan | 2005-06-09 08:52:09 -0700
Add sharutils buildscript



  • Property mode set to 100755
File size: 643 bytes
Line 
1#!/bin/bash
2
3### sharutils ###
4
5cd ${SRC}
6LOG=sharutils-blfs.log
7
8set_libdirname
9setup_multiarch
10
11unpack_tarball sharutils-${SHARUTILS_VER}
12cd ${PKGDIR}
13
14max_log_init sharutils ${SHARUTILS_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 &&
30make install-man \
31 >> ${LOGFILE} 2>&1 &&
32echo " o ALL OK" || barf
33
Note: See TracBrowser for help on using the repository browser.