source: scripts_home/scripts/untested/kde-scripts/kde-arts.sh@ 1c9c5c3

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1c9c5c3 was 1c9c5c3, checked in by Jim Gifford <clfs@…>, 19 years ago

r624@server (orig r622): jim | 2005-10-31 12:40:28 -0800
Rearranging Archive

  • Property mode set to 100755
File size: 1.1 KB
Line 
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
15# override TARBALLS to point at kde tree
16export TARBALLS=${KDE_TARBALLS}/stable/${KDE_VER}/src
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 &&
34echo " o Build OK" || barf
35
36min_log_init ${TESTLOGS} &&
37make -k check \
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
46if [ "${MULTIARCH}" = "Y" ]; then
47 use_wrapper ${KDE_PREFIX}/bin/artsc-config
48fi
Note: See TracBrowser for help on using the repository browser.