clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since a8f17cf 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
|
Rev | Line | |
---|
[617118d] | 1 | #!/bin/bash
|
---|
| 2 | #
|
---|
| 3 | # cdparanoia-III
|
---|
| 4 | #
|
---|
| 5 | # Dependencies: None
|
---|
| 6 | #
|
---|
| 7 |
|
---|
| 8 | cd ${SRC}
|
---|
| 9 | LOG=blfs-cdparanoia-III.log
|
---|
| 10 |
|
---|
| 11 | SELF=`basename ${0}`
|
---|
| 12 | set_buildenv
|
---|
| 13 | set_libdirname
|
---|
| 14 | setup_multiarch
|
---|
| 15 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
| 16 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
| 17 | fi
|
---|
| 18 |
|
---|
| 19 | unpack_tarball cdparanoia-III-${CDPARANOIA_VER}.src &&
|
---|
| 20 | cd ${PKGDIR}
|
---|
| 21 |
|
---|
| 22 | # Patching
|
---|
| 23 |
|
---|
| 24 | # Retrieve target_gcc_ver from gcc -v output
|
---|
| 25 | target_gcc_ver=`${CC-gcc} -v 2>&1 | grep " version " | \
|
---|
| 26 | sed 's@.*version \([0-9.]*\).*@\1@g'`
|
---|
| 27 |
|
---|
| 28 | case ${CDPARANOIA_VER} in
|
---|
| 29 | alpha9.8 )
|
---|
| 30 | apply_patch cdparanoia-III-alpha9.8-includes-1
|
---|
| 31 | case ${target_gcc_ver} in
|
---|
| 32 | 3.4* ) apply_patch cdparanoia-III-alpha9.8-gcc34-1 ;;
|
---|
| 33 | esac
|
---|
| 34 | ;;
|
---|
| 35 | * )
|
---|
| 36 | echo "*** Please check if cdparanoia ${CDPARANOIA_VER} requires patching ***"
|
---|
| 37 | echo "*** then please update this script (and send patch) ***"
|
---|
| 38 | exit 1
|
---|
| 39 | ;;
|
---|
| 40 | esac
|
---|
| 41 |
|
---|
| 42 | max_log_init cdparanoia ${CDPARANOIA_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
| 43 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
| 44 | ./configure --prefix=/usr --host="${TARGET}" ${extra_conf} \
|
---|
| 45 | >> ${LOGFILE} 2>&1 &&
|
---|
| 46 | echo " o Configure OK" &&
|
---|
| 47 |
|
---|
| 48 | min_log_init ${BUILDLOGS} &&
|
---|
| 49 | make ${PMFLAGS} FLAGS="${TGT_CFLAGS} -fPIC" \
|
---|
| 50 | >> ${LOGFILE} 2>&1 &&
|
---|
| 51 | echo " o Build OK" &&
|
---|
| 52 |
|
---|
| 53 | min_log_init ${INSTLOGS} &&
|
---|
| 54 | make install \
|
---|
| 55 | >> ${LOGFILE} 2>&1 &&
|
---|
| 56 | echo " o ALL OK" || barf
|
---|
| 57 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.