changeset 76:aa06baa28f03

add empty configure, compile. Don't use intermediate Makefile.
author hanwen <hanwen@xs4all.nl>
date Thu, 01 Dec 2005 01:51:48 +0100
parents 2fb0d16c0924
children e0efad90235a
files specs/gub.py
diffstat 1 files changed, 12 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/specs/gub.py	Thu Dec 01 01:51:23 2005 +0100
+++ b/specs/gub.py	Thu Dec 01 01:51:48 2005 +0100
@@ -34,7 +34,7 @@
 	stat = proc.wait ()
 	
 	if stat and not ignore_error:
-		log_command ('Command barfed: %s' % cmd )
+		log_command ('Command barfed: %s\n' % cmd )
 		sys.exit (1)
 
 	return 0 
@@ -446,17 +446,15 @@
 		cmd = 'tar %(flags)s %(tarball)s -C %(srcdir)s/root'
 		self.system (cmd, locals ())
 
+	def configure (self):
+		pass
+	
 	def patch (self):
-		installroot = os.path.dirname (self.installdir ())
-		self.dump ('%(srcdir)s/configure', '''
-cat > Makefile <<EOF
-default:
-	@echo done
-all: default
-install:
-	mkdir -p %(installdir)s
-	tar -C %(srcdir)s/root -cf- . | tar -C %(installdir)s -xvf-
-EOF
-''')
-		os.chmod ('%(srcdir)s/configure' % self.package_dict (), 0755)
-						       
+		pass
+	
+	def compile (self):
+		pass
+
+	def install (self):
+		self.system ('mkdir -p %(installdir)s')
+		self.system ('tar -C %(srcdir)s/root -cf- . | tar -C %(installdir)s -xvf-')