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