clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 0ee931e 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:
1.1 KB
|
Rev | Line | |
---|
[617118d] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | ### a2ps ###
|
---|
| 4 |
|
---|
| 5 | cd ${SRC}
|
---|
| 6 | LOG=a2ps-blfs.log
|
---|
| 7 | libdir=lib
|
---|
| 8 |
|
---|
| 9 | SELF=`basename ${0}`
|
---|
| 10 | set_buildenv
|
---|
| 11 | set_libdirname
|
---|
| 12 | setup_multiarch
|
---|
| 13 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
| 14 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
| 15 | fi
|
---|
| 16 |
|
---|
| 17 | unpack_tarball a2ps-${A2PS_VER}
|
---|
| 18 | cd ${PKGDIR}
|
---|
| 19 |
|
---|
| 20 | # TODO: NEEDS WORK
|
---|
| 21 | # update libtool so we understand newer architectures
|
---|
| 22 | #libtoolize --copy --force
|
---|
| 23 |
|
---|
| 24 | sed -i -e "s|emacs||" contrib/Makefile.in &&
|
---|
| 25 | sed -i -e "s|/usr/local/share|/usr/share|" configure &&
|
---|
| 26 | sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" \
|
---|
| 27 | lib/path-concat.c
|
---|
| 28 |
|
---|
| 29 | max_log_init a2ps ${A2PS_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
| 30 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
| 31 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
| 32 | CFLAGS="${TGT_CFLAGS}" \
|
---|
| 33 | CXXFLAGS="${TGT_CFLAGS}" \
|
---|
| 34 | ./configure --prefix=/usr ${extra_conf} \
|
---|
| 35 | --sysconfdir=/etc/a2ps --localstatedir=/var \
|
---|
| 36 | --enable-shared --mandir=/usr/share/man \
|
---|
| 37 | >> ${LOGFILE} 2>&1 &&
|
---|
| 38 | echo " o Configure OK" &&
|
---|
| 39 |
|
---|
| 40 | min_log_init ${BUILDLOGS} &&
|
---|
| 41 | make \
|
---|
| 42 | >> ${LOGFILE} 2>&1 &&
|
---|
| 43 | echo " o Build OK" &&
|
---|
| 44 |
|
---|
| 45 | min_log_init ${INSTLOGS} &&
|
---|
| 46 | make install \
|
---|
| 47 | >> ${LOGFILE} 2>&1 &&
|
---|
| 48 | echo " o ALL OK" || barf
|
---|
| 49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.