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 1c379e4, checked in by Jim Gifford <clfs@…>, 19 years ago |
r589@server (orig r587): ryan | 2005-08-05 22:57:16 -0700
Add a pile of new scripts, and add -32 and -64 symlinks
|
-
Property mode
set to
100755
|
File size:
941 bytes
|
Rev | Line | |
---|
[1c379e4] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | ### cdk ###
|
---|
| 4 | # http://dickey.his.com/cdk/cdk.html
|
---|
| 5 |
|
---|
| 6 | cd ${SRC}
|
---|
| 7 | LOG=cdk-blfs.log
|
---|
| 8 |
|
---|
| 9 | SELF=`basename ${0}`
|
---|
| 10 | set_buildenv
|
---|
| 11 | set_libdirname
|
---|
| 12 | setup_multiarch
|
---|
| 13 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
| 14 | extra_conf="--libdir=/usr/${libdirname}"
|
---|
| 15 | fi
|
---|
| 16 |
|
---|
| 17 | unpack_tarball cdk-${CDK_VER}
|
---|
| 18 | cd ${PKGDIR}
|
---|
| 19 |
|
---|
| 20 | if [ ! -f Makefile.in-orig ]; then
|
---|
| 21 | cp -p Makefile.in Makefile.in-orig
|
---|
| 22 |
|
---|
| 23 | sed 's@gcc@$(CC)@g' Makefile.in-orig > Makefile.in
|
---|
| 24 | fi
|
---|
| 25 |
|
---|
| 26 | max_log_init cdk ${CDK_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
| 27 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
| 28 | CFLAGS="-O2 -pipe ${TGT_CFLAGS} -fPIC" \
|
---|
| 29 | ./configure --prefix=/usr ${extra_conf} \
|
---|
| 30 | --mandir=/usr/share/man --infodir=/usr/share/info \
|
---|
| 31 | >> ${LOGFILE} 2>&1 &&
|
---|
| 32 | echo " o Configure OK" &&
|
---|
| 33 |
|
---|
| 34 | min_log_init ${BUILDLOGS} &&
|
---|
| 35 | (
|
---|
| 36 | make all
|
---|
| 37 | make cdkshlib
|
---|
| 38 | ) >> ${LOGFILE} 2>&1 &&
|
---|
| 39 | echo " o Build OK" &&
|
---|
| 40 |
|
---|
| 41 | min_log_init ${INSTLOGS} &&
|
---|
| 42 | (
|
---|
| 43 | make install &&
|
---|
| 44 | make installCDKSHLibrary
|
---|
| 45 | ) >> ${LOGFILE} 2>&1 &&
|
---|
| 46 | echo " o ALL OK" || barf
|
---|
| 47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.