[Pisi] mod_python

Huseyin Berberoglu hberberoglu at gmail.com
21 Haz 2008 Cmt 00:50:19 EEST


Tekrar merhaba,
Doruk beyin tavsiyelerini dikkate aldım. gentoo-portage'taki mod_python
örneğine baktım.  actions.py dosyasını ona göre düzenledim fakat yine bir
sonuca ulaşamadım.. pspec.xml dosyam sanırım doğru. yanlışlık actions.py
dosyasında olmalı. actions.py dosyası şöyle;

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get

def setup():
    pisitools.dosed("dist/Makefile.in", "--optimize 2", "--no-compile")

    autotools.autoconf()
    autotools.configure("--with-apxs=/usr/sbin/apxs
--with-python=/usr/bin/python2.5")

def build():
    autotools.make('OPT="`apxs -q CFLAGS` -fPIC"')

def install():
    autotools.install("DESTDIR=%s" % get.installDIR())


-- 
Hüseyin -neXus- Berberoğlu
http://www.birazkisisel.com - süper blog
-------------- sonraki bölüm --------------
Bir HTML eklentisi temizlendi...
URL: http://liste.pardus.org.tr/pisi/attachments/20080621/9128b75b/attachment.htm 


Pisi mesaj listesiyle ilgili daha fazla bilgi