clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 7ed0e05 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:
893 bytes
|
Rev | Line | |
---|
[617118d] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | # gtk12
|
---|
| 4 | #-------
|
---|
| 5 | #
|
---|
| 6 | # Dependencies: glib12 X
|
---|
| 7 | #
|
---|
| 8 |
|
---|
| 9 | cd ${SRC}
|
---|
| 10 | LOG=gtk12-blfs.log
|
---|
| 11 |
|
---|
| 12 | SELF=`basename ${0}`
|
---|
| 13 | set_buildenv
|
---|
| 14 | set_libdirname
|
---|
| 15 | setup_multiarch
|
---|
| 16 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
| 17 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
| 18 | fi
|
---|
| 19 |
|
---|
| 20 | unpack_tarball "gtk\+-${GTK12_VER}"
|
---|
| 21 | cd ${PKGDIR}
|
---|
| 22 |
|
---|
| 23 | apply_patch "gtk\+-1.2.10-update_config_foo-1"
|
---|
| 24 |
|
---|
| 25 | max_log_init gtk12 ${GTK12_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
| 26 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
| 27 | CFLAGS="${TGT_CFLAGS}" \
|
---|
| 28 | ./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
|
---|
| 29 | --sysconfdir=/etc ${extra_conf} \
|
---|
| 30 | >> ${LOGFILE} 2>&1 &&
|
---|
| 31 | echo " o Configure OK" &&
|
---|
| 32 |
|
---|
| 33 | min_log_init ${BUILDLOGS} &&
|
---|
| 34 | make ${PMFLAGS} \
|
---|
| 35 | >> ${LOGFILE} 2>&1 &&
|
---|
| 36 | echo " o Build OK" &&
|
---|
| 37 |
|
---|
| 38 | min_log_init ${INSTLOGS} &&
|
---|
| 39 | make install \
|
---|
| 40 | >> ${LOGFILE} 2>&1 &&
|
---|
| 41 | echo " o ALL OK" || barf
|
---|
| 42 |
|
---|
| 43 | if [ "Y" = "${MULTIARCH}" ]; then
|
---|
| 44 | use_wrapper /usr/bin/gtk-config
|
---|
| 45 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.