aboutsummaryrefslogtreecommitdiff
blob: dd7efdb142dd40e7277b6d2d21b2713c41102f1d (plain)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
diff -u -r -P --new-file --exclude=CVS lie-2.2.2/debian/lie.1 lie-2.2.2-1/debian/lie.1
--- lie-2.2.2/debian/lie.1	1970-01-01 01:00:00.000000000 +0100
+++ lie-2.2.2-1/debian/lie.1	2007-02-13 14:32:47.000000000 +0000
@@ -0,0 +1,27 @@
+.TH LIE 1 "December 12, 2006" "" ""
+
+.SH NAME
+LiE -  A computer algebra package for Lie group computations
+.SH SYNOPSIS
+.BR "lie"
+.SH DESCRIPTION
+.B LiE
+LiE is a computer algebra system that is specialised in computations
+involving (reductive) Lie groups and their representations.
+
+Full documentation about the program and the underlying mathematics
+can be found in /usr/share/doc/lie/manual.dvi.
+
+Run-time help can be obtained by typing '?' for a list of help entries
+or '?help' for help information.
+
+See the web page at
+.BR "http://young.sp2mi.univ-poitiers.fr/~marc/LiE/"
+for the CWEBx source code.
+.SH AUTHORS
+LiE was written by Arjeh M. Cohen <amc@win.tue.nl>, Marc van Leeuwen
+<maavl@mathlabo.univ-poitiers.fr> and Bert Lisser.
+.PP
+This manual page was written by Kasper Peeters
+<kasper.peeters@aei.mpg.de>, for the Debian project (but may be used
+by others).
diff -u -r -P --new-file --exclude=CVS lie-2.2.2/lie lie-2.2.2-1/lie
--- lie-2.2.2/lie	1970-01-01 01:00:00.000000000 +0100
+++ lie-2.2.2-1/lie	2007-02-20 21:47:37.000000000 +0000
@@ -0,0 +1,4 @@
+#!/bin/sh
+PTH=`which ${0} | sed -e 's/bin\/lie//'`
+
+exec ${PTH}/bin/Lie.exe initfile ${PTH}/lib/lie
diff -u -r -P --new-file --exclude=CVS lie-2.2.2/lie_script lie-2.2.2-1/lie_script
--- lie-2.2.2/lie_script	1996-09-16 16:14:38.000000000 +0100
+++ lie-2.2.2-1/lie_script	2006-12-17 13:42:23.000000000 +0000
@@ -1,2 +1,3 @@
-LD=actual directory gets substituted here
-exec $LD/Lie.exe initfile $LD
+#!/bin/sh
+#LD=actual directory gets substituted here
+exec /usr/bin/Lie.exe initfile /usr/lib/lie
diff -u -r -P --new-file --exclude=CVS lie-2.2.2/Makefile lie-2.2.2-1/Makefile
--- lie-2.2.2/Makefile	2000-04-07 08:46:28.000000000 +0100
+++ lie-2.2.2-1/Makefile	2007-02-20 20:41:22.000000000 +0000
@@ -24,20 +24,36 @@
 
 # Global organisation (phony targets)
 
-.PHONY: install all script finish no_readline
+.PHONY: preinstall all finish no_readline
 .PHONY:	math_functions binding_functions
 
 # The first target makes everything to get an operational LiE program
-install: all script INFO.a
+preinstall: all INFO.a
+
+install:
+	install -d $(DESTDIR)/usr/bin
+	install -d $(DESTDIR)/usr/lib/lie
+	install Lie.exe $(DESTDIR)/usr/bin/Lie.exe
+	install lie $(DESTDIR)/usr/bin/lie
+	install -m 644 *.ind $(DESTDIR)/usr/lib/lie
+	install -m 644 INFO.a $(DESTDIR)/usr/lib/lie
+	install -m 644 INFO.* $(DESTDIR)/usr/lib/lie
+#	install -d $(DESTDIR)/usr/share/doc/lie
+#	install manual/manual.dvi $(DESTDIR)/usr/share/doc/lie
+	install -d $(DESTDIR)/usr/share/man/man1
+	install debian/lie.1 $(DESTDIR)/usr/share/man/man1
+	gzip -f9 $(DESTDIR)/usr/share/man/man1/lie.1
+#	install debian/lie.1 $(DESTDIR)/usr/share/man/man1/Lie.exe.1
+#	gzip -f9 $(DESTDIR)/usr/share/man/man1/Lie.exe.1
 
 # To 'make all', we first descend into the subdirectories, and afterwards
 # return to finish here.
 
 all:
-	$(MAKE) math_functions binding_functions
+	$(MAKE) math_functions binding_functions 
 	$(MAKE) finish
 
-finish: Lie.exe LEARN.ind INFO.ind # do not call 'make finish' directly
+finish: lie Lie.exe LEARN.ind INFO.ind # do not call 'make finish' directly
 
 math_functions:
 	$(MAKE) -C box all
@@ -88,7 +104,7 @@
 	$(CC) -ansi -c -o gapdate.o date.c
 
 Lie.exe: date.o
-	$(CC) -o Lie.exe $(objects) date.o static/*.o box/*.o -lreadline
+	$(CC) -o Lie.exe $(LDFLAGS) $(objects) date.o static/*.o box/*.o -lreadline -lncurses
 	chmod g+w Lie.exe
 Liegap.exe: gapdate.o
 	$(CC) -o Liegap.exe $(GAP_objects) gapdate.o static/*.o box/*.o
@@ -101,8 +117,8 @@
 	chmod g+w Lie.exe
 	$(MAKE) LEARN.ind INFO.ind script INFO.a
 
-script:
-	./make_lie
+lie:
+	./make_lie $(DESTDIR)
 
 INFO.ind:	INFO.0 INFO.1 INFO.2 INFO.3 INFO.4 infoind
 	./infoind
@@ -123,5 +139,8 @@
 clean:
 	$(MAKE) -C box clean
 	$(MAKE) -C static clean
-	rm -f *~ *.o parser.[ch] INFO.a LEARN.ind
-	rm -f Lie.exe Liegap.exe infoind learnind util/*.o
+	rm -f *~ *.o parser.[ch] INFO.a LEARN.ind INFO.ind
+	rm -f lie Lie.exe Liegap.exe infoind learnind util/*.o
+	rm -f debian/lie/usr/bin/Lie.exe
+	rm -f debian/lie/usr/bin/lie
+	rm -f debian/lie/usr/share/lie/*
diff -u -r -P --new-file --exclude=CVS lie-2.2.2/make_lie lie-2.2.2-1/make_lie
--- lie-2.2.2/make_lie	1996-09-16 16:19:07.000000000 +0100
+++ lie-2.2.2-1/make_lie	2006-12-17 13:42:23.000000000 +0000
@@ -1,3 +1,3 @@
 #!/bin/sh
-sed -e "s!LD=.*!LD=`/bin/pwd`!"  <lie_script >lie
+sed -e "s!LD=.*!LD=$1!"  <lie_script >lie
 chmod a+x lie