source: scripts/scripts/untested/blfs-scripts/blfs-libdvdcss.sh @ 0b402ff

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 0b402ff was 0b402ff, checked in by Jim Gifford <clfs@…>, 18 years ago

r698@server (orig r696): ryan | 2005-11-13 00:00:47 -0800

r704@rei: lfs | 2005-11-13 19:01:08 +1100
Import updates for untested blfs-scripts



  • Property mode set to 100755
File size: 746 bytes
Line 
1#!/bin/bash
2
3### libdvdcss ###
4
5cd ${SRC}
6LOG=libdvdcss-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 libdvdcss-${LIBDVDCSS_VER}
17cd ${PKGDIR}
18
19max_log_init libdvdcss ${LIBDVDCSS_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
20CC="${CC-gcc} ${ARCH_CFLAGS}" \
21CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
22./configure --prefix=/usr ${extra_conf} \
23  --mandir=/usr/share/man \
24  --infodir=/usr/share/info \
25   >> ${LOGFILE} 2>&1 &&
26echo " o Configure OK" &&
27
28min_log_init ${BUILDLOGS} &&
29make \
30   >> ${LOGFILE} 2>&1 &&
31echo " o Build OK" &&
32
33min_log_init ${INSTLOGS} &&
34make install \
35   >> ${LOGFILE} 2>&1 &&
36echo " o ALL OK" || barf
37
Note: See TracBrowser for help on using the repository browser.