Update of /cvsroot/fink/packages/dists/stable/main/finkinfo/sci
In directory usw-pr-cvs1:/tmp/cvs-serv21661

Added Files:
        pari-gp-2.1.4-2.info pari-gp-2.1.4-2.patch 
        pari-gp-xemacs-2.1.4-1.info pari-gp-xemacs-2.1.4-1.patch 
Removed Files:
        pari-gp-2.1.1-6.info pari-gp-2.1.1-6.patch 
Log Message:
moving to stable based on positive feedback


--- NEW FILE: pari-gp-2.1.4-2.info ---
Package: pari-gp
Version: 2.1.4
Revision: 2
Depends: readline-shlibs
BuildDepends: x11, tetex-base, emacsen, readline
Conflicts: pari-gp-xemacs
Replaces: pari-gp-xemacs
Source: http://www.gn-50uma.de/ftp/pari-2.1/pari-%v.tar.gz
Source-MD5: f790435b3008b3a5054989fa467c5a51
Source2: http://www.gn-50uma.de/ftp/pari/galdata.tar.gz
Source2-MD5: 25eab5f9dfdb8715b9ace8cd68210425
Source2ExtractDir: pari-%v/galdata
#Patch: %f.patch
PatchScript: <<
 sed 's|@FINK@|%p|g' < %a/%f.patch | patch -p1
 (cd src/gp; mv gp.c gp.c.orig; sed s+TARGET+%p+ < gp.c.orig > gp.c; rm -f gp.c.orig)
 mkdir -p readline
 ln -s %p/include/readline/chardefs.h readline
 ln -s %p/include/readline/history.h readline
 ln -s %p/include/readline/keymaps.h readline
 ln -s %p/include/readline/readline.h readline
 ln -s %p/include/readline/rlconf.h readline
 ln -s %p/include/readline/rlstdc.h readline
 ln -s %p/include/readline/rltypedefs.h readline
 ln -s %p/include/readline/tilde.h readline
 ln -s %p/lib/libhistory.a readline
 ln -s %p/lib/libreadline.a readline
<<
CompileScript: <<
 ./Configure --prefix=%p
 sed s+\\\\\\\\\ read\ \"lib/gpalias\"+read\ \"%p/etc/gpalias\"+ < misc/gprc.dft 
>misc/gprc
 make gp
 make bench
 make doc
<<
InstallScript: <<
 make install DESTDIR=%d
 mkdir -p %i/etc
 install -m644 misc/gprc %i/etc
 install -m644 misc/gpalias %i/etc
 mkdir -p %i/lib/pari/galdata
 install -p -m644 galdata/* %i/lib/pari/galdata
 mkdir -p %i/share/man/man1
 mv %i/man/man1/* %i/share/man/man1
 rm -R %i/man
 mkdir -p %i/share/doc/pari-gp
 (cd %i/lib/pari; mv AUTHORS Announce.2.1 CHANGES COMPAT COPYING CVS.txt MACHINES NEW 
README TODO %i/share/doc/pari-gp)
 rm %i/lib/pari/emacs/pari.elc
 mkdir -p %i/share/emacs/site-lisp
 mv %i/lib/pari/emacs %i/share/emacs/site-lisp
 mv %i/share/emacs/site-lisp/emacs %i/share/emacs/site-lisp/pari-gp
 mkdir -p %i/lib/emacsen-common/packages/install
 mkdir -p %i/lib/emacsen-common/packages/remove
 install -m 755 emacsen-install %i/lib/emacsen-common/packages/install/%n
 install -m 755 emacsen-remove %i/lib/emacsen-common/packages/remove/%n
<<
PostInstScript: %p/lib/emacsen-common/emacs-package-install %n
PreRmScript:    %p/lib/emacsen-common/emacs-package-remove %n
ConfFiles: %p/etc/gprc %p/etc/gpalias
License: GPL
Description: Computer-aided number theory (calculator and C-library)
DescPort: <<
 The Configure script had a hard time finding readline, hence
 all of the links in the PatchScript.  Had to move some files around
 after installation.  Also edited gp.c so that %p/etc/gprc is recognized in 
 addition  to /etc/gprc. 
 Revision >=2 no longer makes or installs the pdf doc files.
<<
DescPackaging: <<
 Depends on tetex and emacs during building, since these tools are used to
 make the documentation and to create pari.el
<<
Homepage: http://www.parigp-home.de/
Maintainer: Dave Morrison <[EMAIL PROTECTED]>

--- NEW FILE: pari-gp-2.1.4-2.patch ---
diff -c pari-2.1.1/src/gp/gp.c pari-2.1.1-patched/src/gp/gp.c
*** pari-2.1.1/src/gp/gp.c      Mon Apr  2 05:31:12 2001
--- pari-2.1.1-patched/src/gp/gp.c      Thu Aug 23 18:47:13 2001
***************
*** 1908,1913 ****
--- 1908,1914 ----
      f = gprc_chk(str); /* in $HOME */
      if (!f) f = gprc_chk(s); /* in . */
      if (!f) f = gprc_chk("/etc/gprc");
+     if (!f) f = gprc_chk("TARGET/etc/gprc");
      if (!f) f = gprc_chk("C:/_gprc");
      free(str);
    }
diff -ruN pari-2.1.4/emacsen-install pari-2.1.4-patched/emacsen-install
--- pari-2.1.4/emacsen-install  Wed Dec 31 16:00:00 1969
+++ pari-2.1.4-patched/emacsen-install  Sun Aug  4 15:01:19 2002
@@ -0,0 +1,33 @@
+#!/bin/sh
+# @FINK@/lib/emacsen-common/packages/install/pari-gp
+set -e
+ 
+FLAVOR=$1
+echo install/pari-gp: Handling install of emacsen flavor ${FLAVOR}
+
+byte_compile_options="-batch -f batch-byte-compile"
+el_files="pari.el"
+el_dir=@FINK@/share/emacs/site-lisp/pari-gp
+elc_dir=@FINK@/share/${FLAVOR}/site-lisp/pari-gp
+el_path_list="${el_dir}/pari.el"
+elc_path_list="${elc_dir}/pari.el"
+
+if [ ${FLAVOR} != emacs ]
+then
+  echo install/pari-gp: byte-compiling for ${FLAVOR}
+
+  # Create the directory
+  mkdir -p ${elc_dir}
+
+  # Copy the temp .el files
+  cp ${el_path_list} ${elc_dir}
+
+  # Byte compile them
+  ${FLAVOR} ${byte_compile_options} ${elc_path_list}
+
+  # remove the redundant .el files
+  # presumes that any .el files in the <flavor> dir are trash.
+  rm ${elc_dir}/*.el
+fi
+exit 0;
+
diff -ruN pari-2.1.4/emacsen-remove pari-2.1.4-patched/emacsen-remove
--- pari-2.1.4/emacsen-remove   Wed Dec 31 16:00:00 1969
+++ pari-2.1.4-patched/emacsen-remove   Sun Aug  4 15:01:30 2002
@@ -0,0 +1,13 @@
+#!/bin/sh
+# @FINK@/lib/emacsen-common/packages/remove/pari-gp
+set -e
+
+FLAVOR=$1
+echo remove/pari-gp: Handling removal of emacsen flavor ${FLAVOR}
+
+if [ ${FLAVOR} != emacs ]
+then
+  echo emacsen-common: purging byte-compiled files for ${FLAVOR}
+  rm -f @FINK@/share/${FLAVOR}/site-lisp/pari-gp/*.elc
+fi
+exit 0;

--- NEW FILE: pari-gp-xemacs-2.1.4-1.info ---
Package: pari-gp-xemacs
Version: 2.1.4
Revision: 1
Depends: readline-shlibs
BuildDepends: x11, tetex-base, xemacs, readline
Conflicts: pari-gp
Replaces: pari-gp
Source: http://www.gn-50uma.de/ftp/pari-2.1/pari-%v.tar.gz
Source-MD5: f790435b3008b3a5054989fa467c5a51
Source2: http://www.gn-50uma.de/ftp/pari/galdata.tar.gz
Source2-MD5: 25eab5f9dfdb8715b9ace8cd68210425
Source2ExtractDir: pari-%v/galdata
Patch: %f.patch
PatchScript: <<
 (cd src/gp; mv gp.c gp.c.orig; sed s+TARGET+%p+ < gp.c.orig > gp.c; rm -f gp.c.orig)
 mkdir -p readline
 ln -s %p/include/readline/chardefs.h readline
 ln -s %p/include/readline/history.h readline
 ln -s %p/include/readline/keymaps.h readline
 ln -s %p/include/readline/readline.h readline
 ln -s %p/include/readline/rlconf.h readline
 ln -s %p/include/readline/rlstdc.h readline
 ln -s %p/include/readline/rltypedefs.h readline
 ln -s %p/include/readline/tilde.h readline
 ln -s %p/lib/libhistory.a readline
 ln -s %p/lib/libreadline.a readline
<<
CompileScript: <<
 ./Configure --prefix=%p
 sed s+\\\\\\\\\ read\ \"lib/gpalias\"+read\ \"%p/etc/gpalias\"+ < misc/gprc.dft 
>misc/gprc
 make gp
 make bench
 make doc
<<
InstallScript: <<
 make install DESTDIR=%d
 mkdir -p %i/etc
 install -m644 misc/gprc %i/etc
 install -m644 misc/gpalias %i/etc
 mkdir -p %i/lib/pari/galdata
 install -p -m644 galdata/* %i/lib/pari/galdata
 mkdir -p %i/share/man/man1
 mv %i/man/man1/* %i/share/man/man1
 rm -R %i/man
 mkdir -p %i/share/doc/pari-gp
 (cd %i/lib/pari; mv AUTHORS Announce.2.1 CHANGES COMPAT COPYING CVS.txt MACHINES NEW 
README TODO %i/share/doc/pari-gp)
<<
ConfFiles: %p/etc/gprc %p/etc/gpalias
License: GPL
Description: Computer-aided number theory (calculator and C-library)
DescPort: <<
 The Configure script had a hard time finding readline, hence
 all of the links in the PatchScript.  Had to move some files around
 after installation.  Also edited gp.c so that %p/etc/gprc is recognized in 
 addition  to /etc/gprc. 
 Revision >=2 no longer makes or installs the pdf doc files.
<<
DescPackaging: <<
 Depends on tetex and emacs during building, since these tools are used to
 make the documentation and to create pari.el
<<
Homepage: http://www.parigp-home.de/
Maintainer: Dave Morrison <[EMAIL PROTECTED]>

--- NEW FILE: pari-gp-xemacs-2.1.4-1.patch ---
diff -c pari-2.1.1/src/gp/gp.c pari-2.1.1-patched/src/gp/gp.c
*** pari-2.1.1/src/gp/gp.c      Mon Apr  2 05:31:12 2001
--- pari-2.1.1-patched/src/gp/gp.c      Thu Aug 23 18:47:13 2001
***************
*** 1908,1913 ****
--- 1908,1914 ----
      f = gprc_chk(str); /* in $HOME */
      if (!f) f = gprc_chk(s); /* in . */
      if (!f) f = gprc_chk("/etc/gprc");
+     if (!f) f = gprc_chk("TARGET/etc/gprc");
      if (!f) f = gprc_chk("C:/_gprc");
      free(str);
    }

--- pari-gp-2.1.1-6.info DELETED ---

--- pari-gp-2.1.1-6.patch DELETED ---



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to