- Timestamp:
- Feb 21, 2006, 12:22:14 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 8c8c5ab
- Parents:
- 57d97a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/untested/blfs-scripts/blfs-xmms.sh
r57d97a5 rc2b8e07 12 12 if [ ! "${libdirname}" = "lib" ]; then 13 13 extra_conf="--libdir=/usr/${libdirname}" 14 extra_conf="${extra_conf} --with-ogg-libraries=/usr/${libdirname}" 15 extra_conf="${extra_conf} --with-vorbis-libraries=/usr/${libdirname}" 14 16 fi 15 17 … … 17 19 cd ${PKGDIR} 18 20 19 # NOTE: for 64bit I had to temporarily move /usr/lib/lib{glib,gmodule}.la 20 # out of the way to make it build... 21 # 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 22 36 23 37 max_log_init xmms ${XMMS_VER} "blfs (shared)" ${CONFLOGS} ${LOG} 24 38 CC="${CC-gcc} ${ARCH_CFLAGS}" \ 25 39 CXX="${CXX-g++} ${ARCH_CFLAGS}" \ 26 CFLAGS=" ${TGT_CFLAGS}" \27 CXXFLAGS=" ${TGT_CFLAGS}" \40 CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \ 41 CXXFLAGS="-O2 -pipe ${TGT_CFLAGS}" \ 28 42 ./configure --prefix=/usr ${extra_conf} \ 29 43 --mandir=/usr/share/man \ … … 44 58 echo " o ALL OK" || barf 45 59 46 if [ "Y" = "${ BIARCH}" ]i; then60 if [ "Y" = "${MULTIARCH}" ]; then 47 61 # keep 32bit xmms (why, I dont know ;-) ) 48 62 use_wrapper /usr/bin/{xmms,xmms-config} 49 63 fi 50 64 51 chmod 755 /usr/${libdirname}/xmms.so.2.*
Note:
See TracChangeset
for help on using the changeset viewer.