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 d3d48d51, checked in by Jim Gifford <clfs@…>, 19 years ago |
r597@server (orig r595): ryan | 2005-08-05 23:11:17 -0700
Fix typo on the shebang line
|
-
Property mode
set to
100755
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | ### aspell ###
|
---|
4 |
|
---|
5 | # TODO: wants ncurses with wide support for utf8...
|
---|
6 | cd ${SRC}
|
---|
7 | LOG=aspell-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 aspell-${ASPELL_VER}
|
---|
18 | cd ${PKGDIR}
|
---|
19 |
|
---|
20 | # TODO: for biarch, may install these with --program-suffix=${suffix}
|
---|
21 | # as the tools dont behave nice when called via a wrapper after
|
---|
22 | # being renamed...
|
---|
23 | #
|
---|
24 |
|
---|
25 | max_log_init aspell ${ASPELL_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
|
---|
26 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
27 | CXX="${CXX-g++} ${ARCH_CFLAGS}" \
|
---|
28 | CFLAGS="${TGT_CFLAGS}" \
|
---|
29 | CXXFLAGS="${TGT_CFLAGS}" \
|
---|
30 | ./configure --prefix=/usr ${extra_conf} \
|
---|
31 | --mandir=/usr/share/man --infodir=/usr/share/info \
|
---|
32 | >> ${LOGFILE} 2>&1 &&
|
---|
33 | echo " o Configure OK" &&
|
---|
34 |
|
---|
35 | min_log_init ${BUILDLOGS} &&
|
---|
36 | make \
|
---|
37 | >> ${LOGFILE} 2>&1 &&
|
---|
38 | echo " o Build OK" &&
|
---|
39 |
|
---|
40 | min_log_init ${INSTLOGS} &&
|
---|
41 | make install \
|
---|
42 | >> ${LOGFILE} 2>&1 &&
|
---|
43 | echo " o ALL OK" || barf
|
---|
44 |
|
---|
45 | if [ "Y" = "${MULTIARCH}" ]; then
|
---|
46 | use_wrapper /usr/bin/{aspell,prezip-bin,pspell-config,run-with-aspell}
|
---|
47 | fi
|
---|
48 |
|
---|
49 | # TODO: Install a dictionary
|
---|
Note:
See
TracBrowser
for help on using the repository browser.