From 104b3c4262fa3cb6b24ed0e1cd5402b14f4eab8f Mon Sep 17 00:00:00 2001 From: "Yaakov M. Nemoy" Date: Sun, 18 Jan 2009 21:12:09 -0500 Subject: Fixes up HaskellPort to work with the new refactoring. Also adds some close code for ports Also mistakenly stuck some code in HaskellPort that really belongs to the build system --- modules/buildsystem.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules/buildsystem.py') diff --git a/modules/buildsystem.py b/modules/buildsystem.py index 2c5a3a5..254b726 100644 --- a/modules/buildsystem.py +++ b/modules/buildsystem.py @@ -18,7 +18,7 @@ from base.module import Module -class BuildSystem(Module): pass +class BuildSystem(Module): def configure(self, target='home', *args): '''runs the configure stage of cabal @@ -47,3 +47,8 @@ class BuildSystem(Module): pass must do this on their own. ''' raise NotImplementedError + + def install_source(self, target='home', *args): + '''perform configure, build, and install steps in one + ''' + raise NotImplementedError -- cgit