clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since e5345f18 was c2b8e07, checked in by Jim Gifford <clfs@…>, 19 years ago |
r595@server (orig r593): ryan | 2005-08-05 23:08:26 -0700
Add hack to change sys_lib_dlsearch_path_spec and sys_lib_search_path_spec that
gets passed to libtool via configure so we look in the correct places for libs
Use MULTIARCH instead of BIARCH (duh)
|
-
Property mode
set to
100755
|
File size:
1.5 KB
|
Rev | Line | |
---|
[617118d] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | ### xmms ###
|
---|
| 4 |
|
---|
| 5 | cd ${SRC}
|
---|
| 6 | LOG=xmms-blfs.log
|
---|
| 7 |
|
---|
| 8 | SELF=`basename ${0}`
|
---|
| 9 | set_buildenv
|
---|
| 10 | set_libdirname
|
---|
| 11 | setup_multiarch
|
---|
| 12 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
| 13 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
[c2b8e07] | 14 | extra_conf="${extra_conf} --with-ogg-libraries=/usr/${libdirname}"
|
---|
| 15 | extra_conf="${extra_conf} --with-vorbis-libraries=/usr/${libdirname}"
|
---|
[617118d] | 16 | fi
|
---|
| 17 |
|
---|
| 18 | unpack_tarball xmms-${XMMS_VER}
|
---|
| 19 | cd ${PKGDIR}
|
---|
| 20 |
|
---|
[c2b8e07] | 21 | #case ${TGT_ARCH} in
|
---|
| 22 | # x86_64 )
|
---|
| 23 | # if [ "${BUILDENV}" = "32" ]; then
|
---|
| 24 | # extra_conf="${extra_conf} --enable-simd"
|
---|
| 25 | # fi
|
---|
| 26 | # ;;
|
---|
| 27 | # i?86 ) extra_conf="${extra_conf} --enable-simd" ;;
|
---|
| 28 | #esac
|
---|
| 29 |
|
---|
| 30 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
| 31 | # configure hack so we set libtool lib search path to look in
|
---|
| 32 | # */${libdirname}
|
---|
| 33 | sed -i -e "/^sys_lib_\(\|dl\)search_path_spec/s@/lib@/${libdirname}@g" \
|
---|
| 34 | configure
|
---|
| 35 | fi
|
---|
[617118d] | 36 |
|
---|
| 37 | max_log_init xmms ${XMMS_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
| 38 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
| 39 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
[c2b8e07] | 40 | CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
|
---|
| 41 | CXXFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
|
---|
[617118d] | 42 | ./configure --prefix=/usr ${extra_conf} \
|
---|
| 43 | --mandir=/usr/share/man \
|
---|
| 44 | --infodir=/usr/share/info \
|
---|
| 45 | >> ${LOGFILE} 2>&1 &&
|
---|
| 46 | echo " o Configure OK" &&
|
---|
| 47 | # Use only on 32bit
|
---|
| 48 | # --enable-simd
|
---|
| 49 |
|
---|
| 50 | min_log_init ${BUILDLOGS} &&
|
---|
| 51 | make \
|
---|
| 52 | >> ${LOGFILE} 2>&1 &&
|
---|
| 53 | echo " o Build OK" &&
|
---|
| 54 |
|
---|
| 55 | min_log_init ${INSTLOGS} &&
|
---|
| 56 | make install \
|
---|
| 57 | >> ${LOGFILE} 2>&1 &&
|
---|
| 58 | echo " o ALL OK" || barf
|
---|
| 59 |
|
---|
[c2b8e07] | 60 | if [ "Y" = "${MULTIARCH}" ]; then
|
---|
[617118d] | 61 | # keep 32bit xmms (why, I dont know ;-) )
|
---|
| 62 | use_wrapper /usr/bin/{xmms,xmms-config}
|
---|
| 63 | fi
|
---|
| 64 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.