source: scripts/untested/kde-scripts/kde-kde-base.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 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: 1.1 KB
Line 
1#!/bin/bash
2
3### kdebase ###
4
5cd ${SRC}
6LOG=kdebase-kde.log
7
8SELF=`basename ${0}`
9set_buildenv
10set_libdirname
11setup_multiarch
12if [ ! "${libdirname}" = "lib" ]; then
13 extra_conf="--libdir=${KDE_PREFIX}/${libdirname}"
14 extra_conf="${extra_conf} --enable-libsuffix=${BUILDENV}"
15fi
16
17# override TARBALLS to point at kde/stable tree
18export TARBALLS=${KDE_TARBALLS}/stable/${KDE_VER}/src
19
20unpack_tarball kdebase-${KDEBASE_VER}
21cd ${PKGDIR}
22
23max_log_init kdebase ${KDEBASE_VER} "kde (shared)" ${CONFLOGS} ${LOG}
24CC="${CC-gcc} ${ARCH_CFLAGS}" \
25CXX="${CXX-g++} ${ARCH_CFLAGS}" \
26CFLAGS="${TGT_CFLAGS}" \
27CXXFLAGS="${TGT_CFLAGS}" \
28./configure --prefix=${KDE_PREFIX} ${extra_conf} \
29 --disable-debug --disable-dependency-tracking \
30 --with-qt-libraries=/opt/qt/${libdirname} \
31 >> ${LOGFILE} 2>&1 &&
32echo " o Configure OK" &&
33#--enable-fast-malloc=full \
34
35min_log_init ${BUILDLOGS} &&
36make \
37 >> ${LOGFILE} 2>&1 &&
38echo " o Build OK" &&
39
40min_log_init ${TESTLOGS} &&
41make check \
42 >> ${LOGFILE} 2>&1 &&
43echo " o Test OK" || errmsg
44
45min_log_init ${INSTLOGS} &&
46make install \
47 >> ${LOGFILE} 2>&1 &&
48echo " o ALL OK" || barf
49
Note: See TracBrowser for help on using the repository browser.