libbuild.py test için action betiklerini çalıştırıyor, eray'ın path değişiklikleri için gerekli düzenlemeler

This commit is contained in:
S.Çağlar Onur
2005-06-13 12:48:36 +00:00
parent d378685209
commit f5399b3bcb
2 changed files with 8 additions and 12 deletions
+6 -10
View File
@@ -1,22 +1,18 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from gnuconfig import *
from libtoolize import *
from autotools import *
import os,sys
sys.path.append('..')
import config
global package_name
if __name__ == "__main__":
''' WILLBE: Unpack module will pass the package name to action script '''
package_name = 'popt-1.7'
''' WILLBE: pisi-build call action script after entered the build directory '''
os.chdir( config.tmp_dir + '/' + package_name + '/build' )
gnuconfig_update()
libtoolize()
configure( '--with-nls' )
make()
install()
os.chdir( config.tmp_dir() + '/' + package_name + '/build' )
execfile( sys.argv[1] )
+2 -2
View File
@@ -10,5 +10,5 @@ def libtoolize():
''' FIXME: Düzgün hale getirilecek '''
''' patch source with ltmain patches '''
os.system( 'patch -sN < ' + config.lib_dir + '/portage-1.4.1.patch' )
os.system( 'patch -sN < ' + config.lib_dir + '/sed-1.4.0.patch' )
os.system( 'patch -sN < ' + config.lib_dir() + '/portage-1.4.1.patch' )
os.system( 'patch -sN < ' + config.lib_dir() + '/sed-1.4.0.patch' )