--- lie-2.2.2+dfsg.orig/debian/lie-wrapper
+++ lie-2.2.2+dfsg/debian/lie-wrapper
@@ -0,0 +1,3 @@
+#!/bin/sh
+LD=/usr/lib/lie
+exec /usr/lib/lie/lie initfile $LD
--- lie-2.2.2+dfsg.orig/debian/dirs
+++ lie-2.2.2+dfsg/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- lie-2.2.2+dfsg.orig/debian/lie.1
+++ lie-2.2.2+dfsg/debian/lie.1
@@ -0,0 +1,30 @@
+.TH LIE 1 "April 29, 2007" "" ""
+
+.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.
+
+.SH SEE ALSO
+.B Homepage:
+"http://young.sp2mi.univ-poitiers.fr/~marc/LiE/"
+
+.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).
--- lie-2.2.2+dfsg.orig/debian/control
+++ lie-2.2.2+dfsg/debian/control
@@ -0,0 +1,15 @@
+Source: lie
+Section: math
+Priority: optional
+Maintainer: Gürkan Sengün <gurkan@linuks.mine.nu>
+Uploaders: Kasper Peeters <kasper.peeters@aei.mpg.de>
+Build-Depends: debhelper (>= 5), libreadline5-dev, bison
+Standards-Version: 3.7.2
+Homepage: http://young.sp2mi.univ-poitiers.fr/~marc/LiE/
+
+Package: lie
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Computer algebra package for Lie group computations
+ LiE is a computer algebra system that is specialised in computations
+ involving (reductive) Lie groups and their representations.
--- lie-2.2.2+dfsg.orig/debian/compat
+++ lie-2.2.2+dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- lie-2.2.2+dfsg.orig/debian/changelog
+++ lie-2.2.2+dfsg/debian/changelog
@@ -0,0 +1,11 @@
+lie (2.2.2+dfsg-1) unstable; urgency=low
+
+ * Initial release. (Closes: #402226)
+ * Manual pages added.
+ * Set default editor and pager to Debian conventions.
+ * Modified "lie" startup script to allow for installation in
+ arbitrary locations.
+ * Added -lncurses to the link command; -lreadline is not enough.
+ * Removed manual/manual.dvi.
+
+ -- Kasper Peeters <kasper.peeters@aei.mpg.de> Sun, 29 Apr 2006 19:07:13 +0100
--- lie-2.2.2+dfsg.orig/debian/copyright
+++ lie-2.2.2+dfsg/debian/copyright
@@ -0,0 +1,60 @@
+This package was debianized by Kasper Peeters <kasper.peeters@aei.mpg.de> on
+Sun, 29 Apr 2007 19:07:13 +0100.
+
+It was downloaded from http://young.sp2mi.univ-poitiers.fr/~marc/LiE/
+
+This package is based on the compile-only version of the sources
+in http://young.sp2mi.univ-poitiers.fr/~marc/LiE/conLiE.tar.gz.
+
+Copyright holders:
+
+ Marc van Leeuwen <maavl@mathlabo.univ-poitiers.fr>
+ Arjeh M. Cohen <amc@win.tue.nl>
+ Bert Lisser
+
+License:
+
+ Copyright (C) 1996-2007 Marc van Leeuwen <maavl@mathlabo.univ-poitiers.fr>
+ Copyright (C) 1996-2007 Arjeh M. Cohen <amc@win.tue.nl>
+ Copyright (C) 1996-2006 Bert Lisser
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in /usr/share/common-licenses/LGPL file.
+
+ Packaging is Copyright 2006 - Kasper Peeters
+ It can be distributed under the terms of the BSD license.
+
+ ----------
+
+ From: Marc van Leeuwen <Marc.van-Leeuwen@math.univ-poitiers.fr>
+ To: Kasper Peeters <kasper.peeters@aei.mpg.de>
+ Cc: "Arjeh M. Cohen" <amc@win.tue.nl>
+ Subject: Re: LiE licensing
+ Date: Thu, 08 Feb 2007 23:28:34 +0100
+
+ [...]
+
+ I confirm that you can distribute LiE under the LGPL (GNU Lesser General
+ Public License, http://www.gnu.org/licenses/lgpl.html). I have checked
+ with Arjeh M. Cohen, who was the project leader for LiE, that we can and
+ do agree to distribution under this licence. You may include this
+ licence in the distribution and take any other measures to make clear
+ that it is distributed under the LGPL. In fact I will probably make such
+ modifications on the distribution from my home page soon (but you need
+ not wait for that). Thank you for taking this effort,
+
+ -- Marc van Leeuwen
--- lie-2.2.2+dfsg.orig/debian/rules
+++ lie-2.2.2+dfsg/debian/rules
@@ -0,0 +1,51 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+build: build-stamp
+
+build-stamp:
+ dh_testdir
+ $(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ [ ! -f Makefile ] || $(MAKE) clean
+ rm -f INFO.ind lie
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ install -D Lie.exe $(CURDIR)/debian/lie/usr/lib/lie/lie
+ cp -p debian/lie-wrapper $(CURDIR)/debian/lie/usr/bin/lie
+ chmod +x $(CURDIR)/debian/lie/usr/bin/lie
+ install -D -m 644 INFO.ind $(CURDIR)/debian/lie/usr/lib/lie/INFO.ind
+ install -D -m 644 LEARN.ind $(CURDIR)/debian/lie/usr/lib/lie/LEARN.ind
+ install -d -m 0755 $(CURDIR)/debian/lie/usr/lib/lie
+ install -m 0644 INFO.* $(CURDIR)/debian/lie/usr/lib/lie
+
+binary-indep: build install
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installman debian/lie.1
+# dh_link usr/share/man/man1/lie.1 usr/share/man/man1/Lie.exe.1
+ dh_strip
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install