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