source: scripts/untested/blfs-scripts/blfs-gtk12.sh@ f118837

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