source: scripts/untested/kde-scripts/kde-kde-base.sh@ 7ed0e05

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 300656b, checked in by Jim Gifford <clfs@…>, 19 years ago

r585@server (orig r583): ryan | 2005-08-05 21:47:55 -0700
Update all kde build scripts... tested and working on bi-arch amd64



  • Property mode set to 100755
File size: 1.1 KB
RevLine 
[617118d]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} &&
[300656b]46make DESTDIR=/opt/${PKGDIR}-${BUILDENV} install \
[617118d]47 >> ${LOGFILE} 2>&1 &&
48echo " o ALL OK" || barf
49
Note: See TracBrowser for help on using the repository browser.