source: scripts/untested/blfs-scripts/blfs-enscript.sh@ 66f17d5

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

r571@server (orig r569): ryan | 2005-06-09 08:45:07 -0700
*sigh* enscript build barfs out ${ARCH_CFLAGS} is used with gcc...
Commented out for the moment until I can be bothered fault finding it...



  • Property mode set to 100755
File size: 660 bytes
RevLine 
[617118d]1#!/bin/bash
2
3### enscript ###
4
5cd ${SRC}
6LOG=enscript-blfs.log
7
[3d3002d]8# ARGHH cannot set ARCH_CFLAGS or configure barfs... grrrrr
9#set_libdirname
10#setup_multiarch
[617118d]11
12unpack_tarball enscript-${ENSCRIPT_VER}
13cd ${PKGDIR}
14
15max_log_init enscript ${ENSCRIPT_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
[3d3002d]16#CC="${CC-gcc} ${ARCH_CFLAGS}" \
17#CFLAGS="${TGT_CFLAGS}" \
[617118d]18./configure --prefix=/usr \
19 --sysconfdir=/etc/enscript \
20 --localstatedir=/var \
21 >> ${LOGFILE} 2>&1 &&
22echo " o Configure OK" &&
23
24min_log_init ${BUILDLOGS}
25make \
26 >> ${LOGFILE} 2>&1 &&
27echo " o Build OK" || barf
28
29min_log_init ${INSTLOGS}
30make install \
31 >> ${LOGFILE} 2>&1 &&
32echo " o Install OK" || barf
33
Note: See TracBrowser for help on using the repository browser.