source: scripts/untested/blfs-scripts/blfs-shared-mime-info.sh@ fdfb73b

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since fdfb73b 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: 579 bytes
RevLine 
[617118d]1#!/bin/bash
2
3### shared-mime-info ###
4
5cd ${SRC}
6LOG=shared-mime-info-blfs.log
7
8set_libdirname
9setup_multiarch
10
11unpack_tarball shared-mime-info-${SHD_MIME_INFO_VER}
12cd ${PKGDIR}
13
14max_log_init shared-mime-info ${SHD_MIME_INFO_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
15CC="${CC-gcc} ${ARCH_CFLAGS}" \
16CFLAGS="${TGT_CFLAGS}" \
17./configure --prefix=/usr \
18 >> ${LOGFILE} 2>&1 &&
19echo " o Configure OK" &&
20
21min_log_init ${BUILDLOGS} &&
22make \
23 >> ${LOGFILE} 2>&1 &&
24echo " o Build OK" &&
25
26min_log_init ${INSTLOGS} &&
27make install \
28 >> ${LOGFILE} 2>&1 &&
29echo " o ALL OK" || barf
Note: See TracBrowser for help on using the repository browser.