File: INSTALL

package info (click to toggle)
minicom 1.82-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,156 kB
  • ctags: 1,106
  • sloc: ansic: 12,230; makefile: 178; sh: 149; perl: 39
file content (47 lines) | stat: -rwxr-xr-x 1,080 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
### This is the INSTALL script for the the stuff in the linux directory. 
### (2-22-98)

DIR=$PWD

cp -p modemu /usr/bin
cp -p mtelnet /usr/bin
cp -p lrz /usr/bin
cp -p lsz /usr/bin

if [ -d /usr/man/man1 ]; then
cp ../man/lrz.1 ../man/lsz.1 ../man/modemu.1 /usr/man/man1
elif [ -d /usr/local/man/man1 ]; then
cp ../man/lrz.1 ../man/lsz.1 ../man/modemu.1 /usr/local/man/man1
else
MSG="NO"
fi

cd /usr/bin
ln -sf lrz rz
ln -sf lrz rx
ln -sf lrz rb
ln -sf lsz sz
ln -sf lsz sx
ln -sf lsz sb

cd $DIR

if [ ! -L /lib/libncurses.so.4 -a ! -L /usr/lib/libncurses.so.4 ]; then
echo
echo "You need libncurses.so.? to use minicom."
echo "You also need a link to libncurses.so.? called libncurses.so.4."
echo "ln -sf libncurses.so.? libncurses.so.4   <-Create link.)"
fi

echo
echo "The programs (lrz lsz modemu) are in /usr/bin."

if [ "$MSG" = "NO" ]; then
echo "Man pages not installed, no /usr/man/man1 or /usr/local/man/man1 directory."
else
echo "The man pages for the programs are in /usr/man/man1 or /usr/local/man/man1."
fi

echo
echo "Done... I hope there were no problems."
echo