source: scripts/untested/blfs-scripts/blfs-aspell.sh @ d3d48d51

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