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