[paketler-commits] r36050 - playground/aerdogan/pari

paketler-commits at pardus.org.tr paketler-commits at pardus.org.tr
5 Ara 2007 Çar 13:33:30 EET


Author: aerdogan
Date: Wed Dec  5 13:33:30 2007
New Revision: 36050

Modified:
   playground/aerdogan/pari/actions.py
   playground/aerdogan/pari/pspec.xml
Log:
some fix

Modified: playground/aerdogan/pari/actions.py
=================================================================
--- playground/aerdogan/pari/actions.py	(original)
+++ playground/aerdogan/pari/actions.py	Wed Dec  5 13:33:30 2007
@@ -8,15 +8,19 @@
 from pisi.actionsapi import autotools
 from pisi.actionsapi import pisitools
 from pisi.actionsapi import shelltools
+from pisi.actionsapi import get
 
 def setup():
-    shelltools.move("Configure","configure")
-    autotools.configure(" ")
+    shelltools.system(" ./Configure \
+                                    --prefix=/usr \
+                                    --datadir=/usr/share/%s \
+                                    --libdir=/usr/lib \
+                                    --mandir=/usr/share/man/man1 " % get.srcTAG())
 
 def build():
     autotools.make()
 
 def install():
-    autotools.install()
+    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
 
     pisitools.dodoc("AUTHORS","CHANGES","COPYING", "NEWS", "README")

Modified: playground/aerdogan/pari/pspec.xml
=================================================================
--- playground/aerdogan/pari/pspec.xml	(original)
+++ playground/aerdogan/pari/pspec.xml	Wed Dec  5 13:33:30 2007
@@ -10,7 +10,7 @@
         </Packager>
         <License>GPL-2</License>
         <IsA>library</IsA>
-        <Summary>C library, allowing fast computations.</Summary>
+        <Summary>A software package for computer-aided number theory</Summary>
         <Archive sha1sum="e7c823d393b513ba84bb66b400cbe3811a75a60f" type="targz">http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.3.2.tar.gz</Archive>
     </Source>
 
@@ -20,7 +20,7 @@
             <Path fileType="executable">/usr/bin</Path>
             <Path fileType="library">/usr/lib</Path>
             <Path fileType="header">/usr/include</Path>
-            <Path fileType="data">/usr/share</Path>
+            <Path fileType="data">/usr/share/man</Path>
             <Path fileType="doc">/usr/share/doc</Path>
         </Files>
     </Package>


Paketler-commits mesaj listesiyle ilgili daha fazla bilgi