revert last, unsermake will installed into /opt as Onur suggested
This commit is contained in:
@@ -24,7 +24,6 @@ import pisi.actionsapi
|
|||||||
import pisi.actionsapi.get as get
|
import pisi.actionsapi.get as get
|
||||||
from pisi.actionsapi.shelltools import system
|
from pisi.actionsapi.shelltools import system
|
||||||
from pisi.actionsapi.shelltools import can_access_file
|
from pisi.actionsapi.shelltools import can_access_file
|
||||||
from pisi.actionsapi.shelltools import export
|
|
||||||
|
|
||||||
class ConfigureError(pisi.actionsapi.Error):
|
class ConfigureError(pisi.actionsapi.Error):
|
||||||
def __init__(self, value=''):
|
def __init__(self, value=''):
|
||||||
@@ -46,13 +45,8 @@ class InstallError(pisi.actionsapi.Error):
|
|||||||
self.value = value
|
self.value = value
|
||||||
ctx.ui.error(value)
|
ctx.ui.error(value)
|
||||||
|
|
||||||
def configure(parameters = '', unsermake = False):
|
def configure(parameters = ''):
|
||||||
''' parameters = '--with-nls --with-libusb --with-something-usefull '''
|
''' parameters = '--with-nls --with-libusb --with-something-usefull '''
|
||||||
|
|
||||||
''' Check if any package wants to use unsermake as a build system'''
|
|
||||||
if not unsermake:
|
|
||||||
export("UNSERMAKE", "no")
|
|
||||||
|
|
||||||
if can_access_file('configure'):
|
if can_access_file('configure'):
|
||||||
args = './configure \
|
args = './configure \
|
||||||
--prefix=%s \
|
--prefix=%s \
|
||||||
|
|||||||
Reference in New Issue
Block a user