clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 99e4712 was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago |
r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure
|
-
Property mode
set to
100755
|
File size:
1.6 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | ### kdelibs ###
|
---|
4 |
|
---|
5 | cd ${SRC}
|
---|
6 | LOG=kdelibs-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 | # for some reason /opt/kde/lib64 was missing during linking...
|
---|
16 | # you'd think the pkgconfig or .la files would have sorted that...
|
---|
17 | extra_conf="${extra_conf} --with-extra-libs=${KDE_PREFIX}/${libdirname}"
|
---|
18 | fi
|
---|
19 |
|
---|
20 | # override TARBALLS to point at kde/stable tree
|
---|
21 | export TARBALLS=${KDE_TARBALLS}/stable/${KDE_VER}/src
|
---|
22 | unpack_tarball kdelibs-${KDELIBS_VER}
|
---|
23 | cd ${PKGDIR}
|
---|
24 |
|
---|
25 | # override PATCHES to point at kde/stable tree
|
---|
26 | export PATCHES="${KDE_TARBALLS}/stable/${KDE_VER}/patches"
|
---|
27 |
|
---|
28 | case ${KDE_VER} in
|
---|
29 | 3.3.2 )
|
---|
30 | apply_patch post-3.3.2-kdelibs-htmlframes2 -Np0
|
---|
31 | apply_patch post-3.3.2-kdelibs-kioslave -Np0
|
---|
32 | patch -Np0 kio/kio/job.cpp ${PATCHES}/post-3.3.2-kdelibs-kio.diff
|
---|
33 | ;;
|
---|
34 | esac
|
---|
35 |
|
---|
36 | max_log_init kdelibs ${KDELIBS_VER} "kde (shared)" ${CONFLOGS} ${LOG}
|
---|
37 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
38 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
39 | CFLAGS="${TGT_CFLAGS}" \
|
---|
40 | CXXFLAS="${TGT_CFLAGS}" \
|
---|
41 | ./configure --prefix=${KDE_PREFIX} ${extra_conf} \
|
---|
42 | --disable-debug --disable-dependency-tracking \
|
---|
43 | --enable-fast-malloc=full \
|
---|
44 | --with-qt-libraries=/opt/qt/${libdirname} \
|
---|
45 | >> ${LOGFILE} 2>&1 &&
|
---|
46 | echo " o Configure OK" &&
|
---|
47 |
|
---|
48 | min_log_init ${BUILDLOGS} &&
|
---|
49 | make \
|
---|
50 | >> ${LOGFILE} 2>&1 &&
|
---|
51 | echo " o Build OK" &&
|
---|
52 |
|
---|
53 | min_log_init ${TESTLOGS} &&
|
---|
54 | make check \
|
---|
55 | >> ${LOGFILE} 2>&1 &&
|
---|
56 | echo " o Test OK" || errmsg
|
---|
57 |
|
---|
58 | min_log_init ${INSTLOGS} &&
|
---|
59 | make install \
|
---|
60 | >> ${LOGFILE} 2>&1 &&
|
---|
61 | echo " o ALL OK" || barf
|
---|
62 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.