From 02cd0afb4dfe0e9772a95e4c2515578fcbe6bf69 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 2 Jun 2015 12:20:33 -0300 Subject: lie: add new package to [pcr] --- pcr/lie/PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ pcr/lie/lie | 4 ++++ pcr/lie/lie.1 | 27 +++++++++++++++++++++++++++ pcr/lie/lie.install | 35 +++++++++++++++++++++++++++++++++++ 4 files changed, 105 insertions(+) create mode 100644 pcr/lie/PKGBUILD create mode 100755 pcr/lie/lie create mode 100755 pcr/lie/lie.1 create mode 100644 pcr/lie/lie.install (limited to 'pcr/lie') diff --git a/pcr/lie/PKGBUILD b/pcr/lie/PKGBUILD new file mode 100644 index 000000000..0b5c75768 --- /dev/null +++ b/pcr/lie/PKGBUILD @@ -0,0 +1,39 @@ +# Contributor (Arch): Dariusz 'quasi' Panchyrz +# Maintainer: asm + +pkgname=lie +pkgver=2.2.2 +pkgrel=3 +pkgdesc="A Computer algebra package for Lie group computations" +arch=('i686' 'x86_64') +url="http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/" +license=('LGPL') +install=$pkgname.install +source=(http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/conLiE.tar.gz lie lie.1) +md5sums=('2e98f252364d43557a322ea7eb677944' + 'd4f5ad8b87479ef93734eee6d1629190' + 'a47060395617ed656eaccde1a9e9ee93') + +build() { + cd LiE + + make noreadline +} + +package() { + cd LiE + + install -D Lie.exe $pkgdir/usr/bin/Lie.exe + install -D $srcdir/lie $pkgdir/usr/bin/lie + + mkdir -p $pkgdir/usr/lib/lie + for i in INFO.* LEARN.ind + do + cp $i $pkgdir/usr/lib/lie/ + done + + install -D manual/manual.dvi $pkgdir/usr/share/doc/lie/manual.dvi + install -D README $pkgdir/usr/share/doc/lie-2.2.2/README + + install -D $srcdir/lie.1 $pkgdir/usr/share/man/man1/lie.1 +} diff --git a/pcr/lie/lie b/pcr/lie/lie new file mode 100755 index 000000000..54fa7895e --- /dev/null +++ b/pcr/lie/lie @@ -0,0 +1,4 @@ +#!/bin/sh +PTH=`which ${0} | sed -e 's/bin\/lie//'` + +exec ${PTH}/bin/Lie.exe initfile ${PTH}/lib/lie diff --git a/pcr/lie/lie.1 b/pcr/lie/lie.1 new file mode 100755 index 000000000..10bf50db6 --- /dev/null +++ b/pcr/lie/lie.1 @@ -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 , Marc van Leeuwen + and Bert Lisser. +.PP +This manual page was written by Kasper Peeters +, for the Debian project (but may be used +by others). diff --git a/pcr/lie/lie.install b/pcr/lie/lie.install new file mode 100644 index 000000000..843f01a31 --- /dev/null +++ b/pcr/lie/lie.install @@ -0,0 +1,35 @@ +# arg 1: the new package version +pre_install() { + /bin/true +} + +# arg 1: the new package version +post_install() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install +} + +# arg 1: the old package version +pre_remove() { + /bin/true +} + +# arg 1: the old package version +post_remove() { + /bin/true +} + +op=$1 +shift +$op $* -- cgit v1.2.3