clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 7ed0e05 was 99e4712, checked in by Jim Gifford <clfs@…>, 19 years ago |
r567@server (orig r565): ryan | 2005-06-08 02:22:20 -0700
(missing logfile from previous svk merge, diff -r559 for changes)
Create a c wrapper for use when doing multilib builds
create_wrapper now builds and installs a c wrapper as opposed to a shell
wrapper.
The file wrapper.c is created via a here doc... this will be subject to
change
The c wrapper avoids issues when an interpreter such as perl or python is
called from the shebang line of a script, where the contents of the script
would get passed to the shell of the wrapper, NOT to the required interpretor.
Due to this, the previous PERL and PYTHON env var hackery can be removed.
----------------------------------------------
Remove unneded which_func from multiarch_funcs
Minor edits to get the changelog in ;-)
|
-
Property mode
set to
100755
|
File size:
936 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | ### gnome-mime-data ###
|
---|
4 |
|
---|
5 | cd ${SRC}
|
---|
6 | LOG=gnome-mime-data-gnome-platform.log
|
---|
7 |
|
---|
8 | set_libdirname
|
---|
9 | setup_multiarch
|
---|
10 |
|
---|
11 | if [ "${GNOME_PREFIX}" = "/usr" ]; then
|
---|
12 | extra_conf="--sysconfdir=/etc/gnome"
|
---|
13 | fi
|
---|
14 |
|
---|
15 | # override TARBALLS to point at gnome/platform tree
|
---|
16 | GNOME_REL_MAJ=`echo ${GNOME_REL} | sed 's@\([0-9]*\.[0-9]*\).*@\1@g'`
|
---|
17 | export TARBALLS=${GNOME_TARBALLS}/platform/${GNOME_REL_MAJ}/${GNOME_REL}/sources
|
---|
18 |
|
---|
19 | unpack_tarball gnome-mime-data-${GNOME_MIME_DATA_VER}
|
---|
20 | cd ${PKGDIR}
|
---|
21 |
|
---|
22 | # TODO: does this use g++
|
---|
23 | max_log_init gnome-mime-data ${GNOME_MIME_DATA_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
24 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
25 | CFLAGS="${TGT_CFLAGS}" \
|
---|
26 | ./configure --prefix=${GNOME_PREFIX} ${extra_conf} \
|
---|
27 | >> ${LOGFILE} 2>&1 &&
|
---|
28 | echo " o Configure OK" &&
|
---|
29 |
|
---|
30 | min_log_init ${BUILDLOGS} &&
|
---|
31 | make \
|
---|
32 | >> ${LOGFILE} 2>&1 &&
|
---|
33 | echo " o Build OK" || errmsg
|
---|
34 |
|
---|
35 | min_log_init ${INSTLOGS} &&
|
---|
36 | make install \
|
---|
37 | >> ${LOGFILE} 2>&1 &&
|
---|
38 | echo " o ALL OK" || barf
|
---|
39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.