source: scripts/untested/gnome-scripts/gnome-platform-scripts/gnome-platform-gnome-mime-data.sh@ eec901a

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since eec901a 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: 1006 bytes
Line 
1#!/bin/sh
2
3### gnome-mime-data ###
4
5cd ${SRC}
6LOG=gnome-mime-data-gnome-platform.log
7
8set_libdirname
9setup_multiarch
10
11if [ "${GNOME_PREFIX}" = "/usr" ]; then
12 extra_conf="--sysconfdir=/etc/gnome"
13fi
14
15# override TARBALLS to point at gnome/platform tree
16GNOME_REL_MAJ=`echo ${GNOME_REL} | sed 's@\([0-9]*\.[0-9]*\).*@\1@g'`
17export TARBALLS=${GNOME_TARBALLS}/platform/${GNOME_REL_MAJ}/${GNOME_REL}/sources
18
19unpack_tarball gnome-mime-data-${GNOME_MIME_DATA_VER}
20cd ${PKGDIR}
21
22if [ "${MULTIARCH}" = "Y" ]; then
23 export INTLTOOL_PERL="${PERL}"
24fi
25
26# TODO: does this use g++
27max_log_init gnome-mime-data ${GNOME_MIME_DATA_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
28CC="${CC-gcc} ${ARCH_CFLAGS}" \
29CFLAGS="${TGT_CFLAGS}" \
30./configure --prefix=${GNOME_PREFIX} ${extra_conf} \
31 >> ${LOGFILE} 2>&1 &&
32echo " o Configure OK" &&
33
34min_log_init ${BUILDLOGS} &&
35make \
36 >> ${LOGFILE} 2>&1 &&
37echo " o Build OK" || errmsg
38
39min_log_init ${INSTLOGS} &&
40make install \
41 >> ${LOGFILE} 2>&1 &&
42echo " o ALL OK" || barf
43
Note: See TracBrowser for help on using the repository browser.