Slash gerekliliği...
This commit is contained in:
@@ -26,4 +26,4 @@ def install():
|
|||||||
sysconfdir={D}/etc \
|
sysconfdir={D}/etc \
|
||||||
install'
|
install'
|
||||||
|
|
||||||
os.system( install_string.replace( '{D}', os.path.dirname( os.getcwd() + '/image' ))
|
os.system( install_string.replace( '{D}', os.path.dirname( os.getcwd() + '/image' )))
|
||||||
|
|||||||
@@ -1,9 +1,12 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
import os, string, re, shutil, pisiconfig
|
import os, string, re, shutil
|
||||||
from shell import *
|
from shell import *
|
||||||
|
|
||||||
|
sys.path.append('..')
|
||||||
|
import pisiconfig
|
||||||
|
|
||||||
def gnuconfig_findnewest():
|
def gnuconfig_findnewest():
|
||||||
|
|
||||||
locations = [ '/usr/share/gnuconfig/config.sub', '/usr/share/automake-1.8/config.sub', '/usr/share/automake-1.7/config.sub', '/usr/share/automake-1.6/config.sub', '/usr/share/automake-1.5/config.sub', '/usr/share/automake-1.4/config.sub' ]
|
locations = [ '/usr/share/gnuconfig/config.sub', '/usr/share/automake-1.8/config.sub', '/usr/share/automake-1.7/config.sub', '/usr/share/automake-1.6/config.sub', '/usr/share/automake-1.5/config.sub', '/usr/share/automake-1.4/config.sub' ]
|
||||||
@@ -24,8 +27,8 @@ def gnuconfig_update( package_name ):
|
|||||||
newer_location = gnuconfig_findnewest()
|
newer_location = gnuconfig_findnewest()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
shutil.copyfile( newer_location + '/config.sub', pisiconfig.tmp_dir + package_name + '/build/config.sub' )
|
shutil.copyfile( newer_location + '/config.sub', pisiconfig.tmp_dir + '/' + package_name + '/build/config.sub' )
|
||||||
shutil.copyfile( newer_location + '/config.guess', pisiconfig.tmp_dir + package_name + '/build/config.guess' )
|
shutil.copyfile( newer_location + '/config.guess', pisiconfig.tmp_dir + '/' + package_name + '/build/config.guess' )
|
||||||
except IOError:
|
except IOError:
|
||||||
print 'Hata mata...'
|
print 'Hata mata...'
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import pisiconfig
|
|||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
package_name = 'popt-1.7'
|
package_name = 'popt-1.7'
|
||||||
|
|
||||||
os.chdir( pisiconfig.tmp_dir + package_name + '/build' )
|
os.chdir( pisiconfig.tmp_dir + '/' + package_name + '/build' )
|
||||||
|
|
||||||
gnuconfig_update( package_name )
|
gnuconfig_update( package_name )
|
||||||
libtoolize()
|
libtoolize()
|
||||||
|
|||||||
Reference in New Issue
Block a user