source: scripts/untested/blfs-scripts/blfs-xmms.sh@ 1c379e4

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1c379e4 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.1 KB
Line 
1#!/bin/bash
2
3### xmms ###
4
5cd ${SRC}
6LOG=xmms-blfs.log
7
8SELF=`basename ${0}`
9set_buildenv
10set_libdirname
11setup_multiarch
12if [ ! "${libdirname}" = "lib" ]; then
13 extra_conf="--libdir=/usr/${libdirname}"
14fi
15
16unpack_tarball xmms-${XMMS_VER}
17cd ${PKGDIR}
18
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#
22
23max_log_init xmms ${XMMS_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
24CC="${CC-gcc} ${ARCH_CFLAGS}" \
25CXX="${CXX-g++} ${ARCH_CFLAGS}" \
26CFLAGS="${TGT_CFLAGS}" \
27CXXFLAGS="${TGT_CFLAGS}" \
28./configure --prefix=/usr ${extra_conf} \
29 --mandir=/usr/share/man \
30 --infodir=/usr/share/info \
31 >> ${LOGFILE} 2>&1 &&
32echo " o Configure OK" &&
33# Use only on 32bit
34# --enable-simd
35
36min_log_init ${BUILDLOGS} &&
37make \
38 >> ${LOGFILE} 2>&1 &&
39echo " o Build OK" &&
40
41min_log_init ${INSTLOGS} &&
42make install \
43 >> ${LOGFILE} 2>&1 &&
44echo " o ALL OK" || barf
45
46if [ "Y" = "${BIARCH}" ]i; then
47 # keep 32bit xmms (why, I dont know ;-) )
48 use_wrapper /usr/bin/{xmms,xmms-config}
49fi
50
51chmod 755 /usr/${libdirname}/xmms.so.2.*
Note: See TracBrowser for help on using the repository browser.