clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change
on this file since 57d97a5 was
617118d,
checked in by Jim Gifford <clfs@…>, 18 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 | |
---|
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}" |
---|
14 | fi |
---|
15 | |
---|
16 | unpack_tarball xmms-${XMMS_VER} |
---|
17 | cd ${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 | |
---|
23 | max_log_init xmms ${XMMS_VER} "blfs (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=/usr ${extra_conf} \ |
---|
29 | --mandir=/usr/share/man \ |
---|
30 | --infodir=/usr/share/info \ |
---|
31 | >> ${LOGFILE} 2>&1 && |
---|
32 | echo " o Configure OK" && |
---|
33 | # Use only on 32bit |
---|
34 | # --enable-simd |
---|
35 | |
---|
36 | min_log_init ${BUILDLOGS} && |
---|
37 | make \ |
---|
38 | >> ${LOGFILE} 2>&1 && |
---|
39 | echo " o Build OK" && |
---|
40 | |
---|
41 | min_log_init ${INSTLOGS} && |
---|
42 | make install \ |
---|
43 | >> ${LOGFILE} 2>&1 && |
---|
44 | echo " o ALL OK" || barf |
---|
45 | |
---|
46 | if [ "Y" = "${BIARCH}" ]i; then |
---|
47 | # keep 32bit xmms (why, I dont know ;-) ) |
---|
48 | use_wrapper /usr/bin/{xmms,xmms-config} |
---|
49 | fi |
---|
50 | |
---|
51 | chmod 755 /usr/${libdirname}/xmms.so.2.* |
---|
Note: See
TracBrowser
for help on using the repository browser.