[paketler-commits] r55104 - 2008/programming/tools/git

paketler-commits at pardus.org.tr paketler-commits at pardus.org.tr
28 Eki 2008 Sal 10:30:08 EET


Author: eki
Date: Tue Oct 28 10:30:08 2008
New Revision: 55104

Modified:
   2008/programming/tools/git/actions.py
   2008/programming/tools/git/pspec.xml
Log:
merge  : - Fixes --prefix problem where if not given installs some perl modules to 
user's home.

Modified: 2008/programming/tools/git/actions.py
=================================================================
--- 2008/programming/tools/git/actions.py	(original)
+++ 2008/programming/tools/git/actions.py	Tue Oct 28 10:30:08 2008
@@ -8,26 +8,19 @@
 from pisi.actionsapi import autotools
 from pisi.actionsapi import pisitools
 from pisi.actionsapi import perlmodules
-from pisi.actionsapi import shelltools
 from pisi.actionsapi import get
 
 WorkDir="git-%s" % get.srcVERSION().replace("_",".")
 
-def setup():
-    # Use our flags
-    pisitools.dosed("Makefile", "^CFLAGS =.*", "CFLAGS = %s" % get.CFLAGS())
-
 def build():
-    autotools.make("DESTDIR=%s prefix=/usr" % get.installDIR())
-
-    # gitweb
-    shelltools.unlink("gitweb/gitweb.cgi")
-    autotools.make('GITWEB_CSS="gitweb/gitweb.css" \
+    autotools.make('CFLAGS="%s" \
+                    LDFLAGS="%s" \
+                    DESTDIR=%s \
+                    prefix=/usr \
+                    GITWEB_CSS="gitweb/gitweb.css" \
                     GITWEB_LOGO="gitweb/git-logo.png" \
                     GITWEB_FAVICON="gitweb/git-favicon.png" \
-                    bindir=/usr/bin \
-                    gitweb/gitweb.cgi \
-                    all' )
+                    all' % (get.CFLAGS(), get.LDFLAGS(), get.installDIR()))
 
 def install():
     autotools.rawInstall("DESTDIR=%s prefix=/usr" % get.installDIR())

Modified: 2008/programming/tools/git/pspec.xml
=================================================================
--- 2008/programming/tools/git/pspec.xml	(original)
+++ 2008/programming/tools/git/pspec.xml	Tue Oct 28 10:30:08 2008
@@ -95,8 +95,15 @@
     </Package>
 
     <History>
+        <Update release="72">
+            <Date>2008-10-27</Date>
+            <Version>1.6.0.3</Version>
+            <Comment>Add prefix to fix installation of perl modules to root's home</Comment>
+            <Name>Faik Uygur</Name>
+            <Email>faik at pardus.org.tr</Email>
+        </Update>
         <Update release="71">
-            <Date>2008-09-22</Date>
+            <Date>2008-10-22</Date>
             <Version>1.6.0.3</Version>
             <Comment>Bug fixes including seg faults, some memory allocation problems, documantation updates</Comment>
             <Name>Faik Uygur</Name>


Paketler-commits mesaj listesiyle ilgili daha fazla bilgi