clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 7882dc5 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.3 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | ### mas ###
|
---|
4 |
|
---|
5 | cd ${SRC}
|
---|
6 | LOG=mas-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 mas-${MAS_VER}
|
---|
17 | cd ${PKGDIR}
|
---|
18 |
|
---|
19 | apply_patch mas-cvs-add_amd64
|
---|
20 |
|
---|
21 | max_log_init mas ${MAS_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
22 |
|
---|
23 | # Adjust config/host.def to install to /usr and to use standard
|
---|
24 | # installation
|
---|
25 | cat >> config/host.def <<EOF
|
---|
26 | #define ProjectRoot /usr
|
---|
27 | #define UsesSeparateInstallHierarchy NO
|
---|
28 | EOF
|
---|
29 |
|
---|
30 | # use previously installed fftw2 libs
|
---|
31 | sed -i 's@\(HasFFTW\).*@\1 YES@g' config/host.def
|
---|
32 |
|
---|
33 | imake -I./config \
|
---|
34 | >> ${LOGFILE} 2>&1 &&
|
---|
35 | echo " o Configure OK" &&
|
---|
36 |
|
---|
37 | min_log_init ${BUILDLOGS} &&
|
---|
38 | make \
|
---|
39 | CC="${CC-gcc} ${ARCH_CFLAGS} ${TGT_CFLAGS}" \
|
---|
40 | CXX="${CXX-g++} ${ARCH_CFLAGS} ${TGT_CFLAGS}" \
|
---|
41 | World \
|
---|
42 | >> ${LOGFILE} 2>&1 &&
|
---|
43 | echo " o Build OK" &&
|
---|
44 |
|
---|
45 | min_log_init ${INSTLOGS} &&
|
---|
46 | make install \
|
---|
47 | >> ${LOGFILE} 2>&1 &&
|
---|
48 | echo " o ALL OK" || barf
|
---|
49 |
|
---|
50 | # for some reason, mas-config and mas-launch are missing the #! line
|
---|
51 |
|
---|
52 | if [ "Y" = "${MULTIARCH}" ]; then
|
---|
53 | use_wrapper /usr/bin/{masmkmf,mas-config,mas-launch}
|
---|
54 | fi
|
---|
55 |
|
---|
56 | cd ${SRC}
|
---|
57 | # Install libmas codec
|
---|
58 | unpack_tarball mas-codec_mp1a_mad-${MAS_MAD_CODEC_VER}
|
---|
59 |
|
---|
60 | cd ${PKGDIR}
|
---|
61 | mkdir -p build/lib
|
---|
62 | masmkmf -a
|
---|
63 | make \
|
---|
64 | CC="${CC-gcc} ${ARCH_CFLAGS} ${TGT_CFLAGS}" \
|
---|
65 | make install
|
---|
66 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.