Comment eklendi
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
import os, pisiconfig
|
||||
|
||||
def configure( parameters = None):
|
||||
''' FIXME: Düzgün hale getirilecek '''
|
||||
''' {EXTRA} = '--with-nls --with-libusb --with-something-usefull '''
|
||||
|
||||
configure_string = './configure --prefix=/usr \
|
||||
--host=i686-pc-linux-gnu \
|
||||
--mandir=/usr/share/man \
|
||||
@@ -15,9 +18,13 @@ def configure( parameters = None):
|
||||
os.system( configure_string.replace( '{EXTRA}', parameters ))
|
||||
|
||||
def make():
|
||||
''' FIXME: Düzgün hale getirilecek '''
|
||||
os.system( 'make' )
|
||||
|
||||
def install():
|
||||
''' FIXME: Düzgün hale getirilecek '''
|
||||
''' {D} = /var/tmp/pisi/ _paket_adı_ /image/ '''
|
||||
|
||||
install_string = 'make prefix={D}/usr \
|
||||
datadir={D}/usr/share \
|
||||
infodir={D}/usr/share/info \
|
||||
|
||||
@@ -8,6 +8,7 @@ sys.path.append('..')
|
||||
import pisiconfig
|
||||
|
||||
def gnuconfig_findnewest():
|
||||
''' find the newest config.* file according to timestamp and return it '''
|
||||
|
||||
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' ]
|
||||
|
||||
@@ -23,6 +24,7 @@ def gnuconfig_findnewest():
|
||||
return os.path.dirname( newer_location.popitem()[0] )
|
||||
|
||||
def gnuconfig_update( package_name ):
|
||||
''' copy newest config.* onto source's '''
|
||||
|
||||
newer_location = gnuconfig_findnewest()
|
||||
|
||||
|
||||
@@ -7,5 +7,8 @@ sys.path.append('..')
|
||||
import pisiconfig
|
||||
|
||||
def libtoolize():
|
||||
''' FIXME: Düzgün hale getirilecek '''
|
||||
''' patch source with ltmain patches '''
|
||||
|
||||
os.system( 'patch -sN < ' + pisiconfig.lib_dir + '/portage-1.4.1.patch' )
|
||||
os.system( 'patch -sN < ' + pisiconfig.lib_dir + '/sed-1.4.0.patch' )
|
||||
|
||||
Reference in New Issue
Block a user