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

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since d5e4fdc0 was c0a1333, checked in by Jim Gifford <clfs@…>, 18 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.