source: scripts/untested/gnome-scripts/gnome-platform-scripts/gnome-platform-intltool.sh@ 873009c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 873009c 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: 662 bytes
RevLine 
[617118d]1#!/bin/bash
2
3### intltool ###
4
5cd ${SRC}
6LOG=intltool-gnome-platform.log
7
8# override TARBALLS to point at gnome/platform tree
9GNOME_REL_MAJ=`echo ${GNOME_REL} | sed 's@\([0-9]*\.[0-9]*\).*@\1@g'`
10export TARBALLS=${GNOME_TARBALLS}/platform/${GNOME_REL_MAJ}/${GNOME_REL}/sources
11
12unpack_tarball intltool-${INTLTOOL_VER}
13cd ${PKGDIR}
14
15max_log_init intltool ${INTLTOOL_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
16./configure --prefix=/usr \
17 >> ${LOGFILE} 2>&1 &&
18echo " o Configure OK" &&
19
20min_log_init ${BUILDLOGS} &&
21make \
22 >> ${LOGFILE} 2>&1 &&
23echo " o Build OK" &&
24
25min_log_init ${INSTLOGS} &&
26make install \
27 >> ${LOGFILE} 2>&1 &&
28echo " o ALL OK" || barf
Note: See TracBrowser for help on using the repository browser.