source: scripts/untested/blfs-scripts/blfs-gtk12.sh @ 617118d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 18 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.