source: scripts/untested/blfs-scripts/blfs-aspell.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: 1.1 KB
Line 
1#!/bin/ibash
2
3### aspell ###
4
5# TODO: wants ncurses with wide support for utf8...
6cd ${SRC}
7LOG=aspell-blfs.log
8
9SELF=`basename ${0}`
10set_buildenv
11set_libdirname
12setup_multiarch
13if [ ! "${libdirname}" = "lib" ]; then
14   extra_conf="--libdir=/usr/${libdirname}"
15fi
16
17unpack_tarball aspell-${ASPELL_VER}
18cd ${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
25max_log_init aspell ${ASPELL_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
26CC="${CC-gcc} ${ARCH_CFLAGS}" \
27CXX="${CXX-g++} ${ARCH_CFLAGS}" \
28CFLAGS="${TGT_CFLAGS}" \
29CXXFLAGS="${TGT_CFLAGS}" \
30./configure --prefix=/usr ${extra_conf} \
31   --mandir=/usr/share/man --infodir=/usr/share/info \
32   >> ${LOGFILE} 2>&1 &&
33echo " o Configure OK" &&
34
35min_log_init ${BUILDLOGS} &&
36make \
37   >> ${LOGFILE} 2>&1 &&
38echo " o Build OK" &&
39
40min_log_init ${INSTLOGS} &&
41make install \
42   >> ${LOGFILE} 2>&1 &&
43echo " o ALL OK" || barf
44
45if [ "Y" = "${MULTIARCH}" ]; then
46   use_wrapper /usr/bin/{aspell,prezip-bin,pspell-config,run-with-aspell}
47fi
48
49# TODO: Install a dictionary
Note: See TracBrowser for help on using the repository browser.