source:
scripts/scripts/untested/blfs-scripts/blfs-t1lib.sh
@
7f65c0e
Last change on this file since 7f65c0e was 7f65c0e, checked in by , 18 years ago | |
---|---|
|
|
File size: 666 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | ### t1lib ### |
4 | |
5 | cd ${SRC} |
6 | LOG=t1lib-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 t1lib-${T1LIB_VER} |
17 | cd ${PKGDIR} |
18 | |
19 | max_log_init t1lib ${T1LIB_VER} "blfs (shared)" ${CONFLOGS} ${LOG} |
20 | CC="${CC-gcc} ${ARCH_CFLAGS}" \ |
21 | CFLAGS="${TGT_CFLAGS}" \ |
22 | ./configure --prefix=/usr ${extra_conf} \ |
23 | >> ${LOGFILE} 2>&1 && |
24 | echo " o Configure OK" && |
25 | |
26 | min_log_init ${BUILDLOGS} && |
27 | make without_doc \ |
28 | >> ${LOGFILE} 2>&1 && |
29 | echo " o Build OK" && |
30 | |
31 | min_log_init ${INSTLOGS} && |
32 | make install \ |
33 | >> ${LOGFILE} 2>&1 && |
34 | echo " o ALL OK" || barf |
35 |
Note: See TracBrowser
for help on using the repository browser.