source: scripts/untested/blfs-scripts/blfs-libmng.sh@ b15e4602

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b15e4602 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: 997 bytes
RevLine 
[1c379e4]1#!/bin/bash
2
3### libmng ###
4
5cd ${SRC}
6LOG=libmng-blfs.log
7
8SELF=`basename ${0}`
9set_buildenv
10set_libdirname
11setup_multiarch
12
13unpack_tarball libmng-${LIBMNG_VER}
14cd ${PKGDIR}
15
16max_log_init libmng ${LIBMNG_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
17sed -e 's@\(^prefix=\).*@\1/usr@g' \
18 -e 's@\(^CFLAGS=\)\(.*\)@\1${TGT_CFLAGS} -fPIC \2@g' \
19 -e "s@\$(prefix)/lib.*@\$(prefix)/${libdirname}@g" \
20 -e "s@/usr/local/lib@\$(prefix)/${libdirname}@g" \
21 -e "s@/usr/local@\$(prefix)@g" \
22 < makefiles/makefile.linux > Makefile
23
24min_log_init ${BUILDLOGS} &&
25make ${PMFLAGS} CC="${CC-gcc} ${ARCH_CFLAGS}" \
26 >> ${LOGFILE} 2>&1 &&
27echo " o Build OK" &&
28
29min_log_init ${INSTLOGS} &&
30(
31make prefix=/usr install &&
32install -v -m644 doc/man/*.3 /usr/share/man/man3 &&
33install -v -m644 doc/man/*.5 /usr/share/man/man5 &&
34install -v -m755 -d /usr/share/doc/libmng-${LIBMNG_VER} &&
35install -v -m644 doc/*.{png,txt} /usr/share/doc/libmng-${LIBMNG_VER}
36) >> ${LOGFILE} 2>&1 &&
37echo " o ALL OK" || barf
38
Note: See TracBrowser for help on using the repository browser.