clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 57d97a5 was 1c379e4, checked in by Jim Gifford <clfs@…>, 19 years ago |
r589@server (orig r587): ryan | 2005-08-05 22:57:16 -0700
Add a pile of new scripts, and add -32 and -64 symlinks
|
-
Property mode
set to
100755
|
File size:
1.3 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | ### xvid ###
|
---|
4 |
|
---|
5 | cd ${SRC}
|
---|
6 | LOG=xvid-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 | if [ "${MULTIARCH}" = "Y" ]; then
|
---|
17 | case ${TGT_ARCH} in
|
---|
18 | x86_64 )
|
---|
19 | if [ "${BUILDENV}" = "32" ]; then
|
---|
20 | extra_conf="${extra_conf} --build=${ALT_TGT}"
|
---|
21 | extra_conf="${extra_conf} --host=${ALT_TGT}"
|
---|
22 | extra_conf="${extra_conf} --target=${ALT_TGT}"
|
---|
23 | fi
|
---|
24 | ;;
|
---|
25 | esac
|
---|
26 | fi
|
---|
27 |
|
---|
28 | unpack_tarball xvidcore-${XVID_VER}
|
---|
29 | cd ${PKGDIR}/build/generic
|
---|
30 |
|
---|
31 | max_log_init xvid ${XVID_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
32 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
33 | CFLAGS="-O3 -pipe ${TGT_CFLAGS}" \
|
---|
34 | ./configure --prefix=/usr ${extra_conf} \
|
---|
35 | --mandir=/usr/share/man --infodir=/usr/share/info \
|
---|
36 | >> ${LOGFILE} 2>&1 &&
|
---|
37 | echo " o Configure OK" &&
|
---|
38 |
|
---|
39 | min_log_init ${BUILDLOGS} &&
|
---|
40 | (
|
---|
41 | make list-cflags &&
|
---|
42 | make list-install-path &&
|
---|
43 | make list-targets &&
|
---|
44 | make
|
---|
45 | ) >> ${LOGFILE} 2>&1 &&
|
---|
46 | echo " o Build OK" &&
|
---|
47 |
|
---|
48 | min_log_init ${INSTLOGS} &&
|
---|
49 | (
|
---|
50 | make install &&
|
---|
51 | ln -v -sf libxvidcore.so.4.? /usr/${libdirname}/libxvidcore.so.4 &&
|
---|
52 | ln -v -sf libxvidcore.so.4 /usr/${libdirname}/libxvidcore.so &&
|
---|
53 | chmod -v 644 /usr/${libdirname}/libxvidcore.a
|
---|
54 | ) >> ${LOGFILE} 2>&1 &&
|
---|
55 | echo " o ALL OK" || barf
|
---|
56 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.