clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 1c9c5c3 was 1c9c5c3, checked in by Jim Gifford <clfs@…>, 19 years ago |
r624@server (orig r622): jim | 2005-10-31 12:40:28 -0800
Rearranging Archive
|
-
Property mode
set to
100755
|
File size:
1.0 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | ### swig ###
|
---|
4 |
|
---|
5 | cd ${SRC}
|
---|
6 | LOG=swig-blfs.log
|
---|
7 |
|
---|
8 | set -x
|
---|
9 | set_libdirname
|
---|
10 | set +x
|
---|
11 | setup_multiarch
|
---|
12 |
|
---|
13 | unpack_tarball swig-${SWIG_VER}
|
---|
14 | cd ${PKGDIR}
|
---|
15 |
|
---|
16 | echo ${libdirname}
|
---|
17 |
|
---|
18 | echo ${DEFAULTENV}
|
---|
19 |
|
---|
20 | sed -i "s@PYLIBDIR=\"lib\"@PYLIBDIR=\"${libdirname}\"@g" configure
|
---|
21 | echo "JAVA_HOME ${JAVA_HOME} ${BUILDENV}"
|
---|
22 |
|
---|
23 | # TODO: ensure swig looks in lib64 for python libs...
|
---|
24 | # NOTE: only diff between 32 and 64 builds is the swig binary itself
|
---|
25 | # we may need to install both -32 and -64, but I'm not too sure
|
---|
26 |
|
---|
27 | max_log_init swig ${SWIG_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
28 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
29 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
30 | CFLAGS="${TGT_CFLAGS}" \
|
---|
31 | CXXFLAGS="${TGT_CFLAGS}" \
|
---|
32 | ./configure --prefix=/usr \
|
---|
33 | --with-tclconfig=/usr/${libdirname} \
|
---|
34 | --with-java=${JAVA_HOME}/bin \
|
---|
35 | --with-javaincl=${JAVA_HOME}/include \
|
---|
36 | >> ${LOGFILE} 2>&1 &&
|
---|
37 | echo " o Configure OK" &&
|
---|
38 |
|
---|
39 | min_log_init ${BUILDLOGS} &&
|
---|
40 | make ${PMFLAGS} \
|
---|
41 | >> ${LOGFILE} 2>&1 &&
|
---|
42 | echo " o Build OK" &&
|
---|
43 |
|
---|
44 | min_log_init ${INSTLOGS} &&
|
---|
45 | make install \
|
---|
46 | >> ${LOGFILE} 2>&1 &&
|
---|
47 | echo " o ALL OK" || barf
|
---|
48 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.