source: scripts/untested/blfs-scripts/blfs-enscript.sh @ 3d3002d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 3d3002d was 3d3002d, checked in by Jim Gifford <clfs@…>, 18 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
Line 
1#!/bin/bash
2
3### enscript ###
4
5cd ${SRC}
6LOG=enscript-blfs.log
7
8# ARGHH cannot set ARCH_CFLAGS or configure barfs... grrrrr
9#set_libdirname
10#setup_multiarch
11
12unpack_tarball enscript-${ENSCRIPT_VER}
13cd ${PKGDIR}
14
15max_log_init enscript ${ENSCRIPT_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
16#CC="${CC-gcc} ${ARCH_CFLAGS}" \
17#CFLAGS="${TGT_CFLAGS}" \
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.