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:
1.2 KB
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | ### espgs ### |
---|
4 | |
---|
5 | cd ${SRC} |
---|
6 | LOG=espgs-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 espgs-${ESPGS_VER} |
---|
17 | cd ${PKGDIR} |
---|
18 | |
---|
19 | # NOTE: check /usr/bin/cups-config(-32,-64} to ensure no rpaths are set |
---|
20 | |
---|
21 | max_log_init espgs ${ESPGS_VER} "blfs (shared)" ${CONFLOGS} ${LOG} |
---|
22 | CC="${CC-gcc} ${ARCH_CFLAGS}" \ |
---|
23 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \ |
---|
24 | CFLAGS="${TGT_CFLAGS}" \ |
---|
25 | CXXFLAGS="${TGT_CFLAGS}" \ |
---|
26 | ./configure --prefix=/usr --without-gimp-print --without-omni ${extra_conf} \ |
---|
27 | --with-ijs \ |
---|
28 | >> ${LOGFILE} 2>&1 && |
---|
29 | echo " o Configure OK" && |
---|
30 | |
---|
31 | min_log_init ${BUILDLOGS} && |
---|
32 | make \ |
---|
33 | >> ${LOGFILE} 2>&1 && |
---|
34 | echo " o Build OK" && |
---|
35 | |
---|
36 | min_log_init ${INSTLOGS} && |
---|
37 | make install \ |
---|
38 | >> ${LOGFILE} 2>&1 && |
---|
39 | make CFLAGS_SO='-fPIC $(ACDEFS)' so \ |
---|
40 | >> ${LOGFILE} 2>&1 && |
---|
41 | make soinstall \ |
---|
42 | >> ${LOGFILE} 2>&1 && |
---|
43 | echo " o ALL OK" || barf |
---|
44 | |
---|
45 | install -d -m755 /usr/include/ps && |
---|
46 | install -m644 src/*.h /usr/include/ps |
---|
47 | |
---|
48 | # Now, install fonts |
---|
49 | cd /usr/share/ghostscript |
---|
50 | unpack_tarball ghostscript-fonts-std-${GS_FONTS_STD_VER} |
---|
51 | unpack_tarball gnu-gs-fonts-other-${GS_FONTS_OTHER_VER} |
---|
52 | chown -R root:root * |
---|
Note: See
TracBrowser
for help on using the repository browser.