clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since fdfb73b 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.1 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | ### libpng ###
|
---|
4 |
|
---|
5 | cd ${SRC}
|
---|
6 | LOG=libpng-blfs.log
|
---|
7 | SELF=`basename ${0}`
|
---|
8 | set_buildenv
|
---|
9 | set_libdirname
|
---|
10 | setup_multiarch
|
---|
11 |
|
---|
12 | unpack_tarball libpng-${LIBPNG_VER}
|
---|
13 | cd ${PKGDIR}
|
---|
14 |
|
---|
15 | case ${LIBPNG_VER} in
|
---|
16 | 1.2.7 )
|
---|
17 | apply_patch libpng-1.2.7-link_to_proper_libs-1
|
---|
18 | ;;
|
---|
19 | 1.2.8 )
|
---|
20 | apply_patch libpng-1.2.8-link_to_proper_libs-1
|
---|
21 | ;;
|
---|
22 | esac
|
---|
23 | apply_patch libpng-1.2.7-fix_pc_for_biarch
|
---|
24 |
|
---|
25 | max_log_init libpng ${LIBPNG_VER} "blfs (shared)" ${BUILDLOGS} ${LOG}
|
---|
26 | make CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
27 | prefix=/usr LIBPATH=/usr/${libdirname} \
|
---|
28 | ZLIBINC=/usr/include ZLIBLIB=/usr/${libdirname} \
|
---|
29 | -f scripts/makefile.linux \
|
---|
30 | >> ${LOGFILE} 2>&1 &&
|
---|
31 | echo " o Build OK" &&
|
---|
32 |
|
---|
33 | min_log_init ${INSTLOGS} &&
|
---|
34 | make CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
35 | prefix=/usr LIBPATH=/usr/${libdirname} install \
|
---|
36 | -f scripts/makefile.linux \
|
---|
37 | >> ${LOGFILE} 2>&1 &&
|
---|
38 | echo " o ALL OK" || barf
|
---|
39 |
|
---|
40 | if [ "Y" = "${MULTIARCH}" ]; then
|
---|
41 | use_wrapper /usr/bin/libpng12-config
|
---|
42 | # Added as libpng-config is a symlink to libpng12-config (which uses the wrapper)
|
---|
43 | # so that the wrapper will find libpng-config-${BUILDENV}
|
---|
44 | ln -sf libpng12-config-${BUILDENV} /usr/bin/libpng-config-${BUILDENV}
|
---|
45 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.