Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Christoforides <alexis@thenull.net>2016-11-04 17:55:13 +0300
committerAlexis Christoforides <alexis@thenull.net>2016-11-04 18:31:25 +0300
commit147e97cb6dd501d6c837fdbd6f0c42b6463a463a (patch)
treeb36a653d43a19ffe559a38a1e8cb73cdc8179616 /packaging/MacSDK/xsp.py
parentbefd4fa677adbac8b7a0d9353693797bfda66caf (diff)
Rename 'bockbuild' to 'packaging' so that it can be home to other packaging code
Diffstat (limited to 'packaging/MacSDK/xsp.py')
-rw-r--r--packaging/MacSDK/xsp.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/packaging/MacSDK/xsp.py b/packaging/MacSDK/xsp.py
new file mode 100644
index 00000000000..8180001e336
--- /dev/null
+++ b/packaging/MacSDK/xsp.py
@@ -0,0 +1,23 @@
+class XspPackage (GitHubTarballPackage):
+
+ def __init__(self):
+ GitHubTarballPackage.__init__(self, 'mono', 'xsp', '4.4',
+ 'c98e068f5647fb06ff2fbef7cd5f1b35417362b1',
+ configure='./autogen.sh --prefix="%{package_prefix}"')
+
+ def install(self):
+ # scoop up some mislocated files
+ misdir = '%s%s' % (self.stage_root, self.staged_profile)
+ unprotect_dir(self.stage_root)
+ Package.install(self)
+ if not os.path.exists(misdir):
+ for path in iterate_dir(self.stage_root):
+ print path
+ error('Could not find mislocated files')
+
+ self.sh('rsync -a --ignore-existing %s/* %s' %
+ (misdir, self.profile.staged_prefix))
+ self.sh('rm -rf %s/*' % misdir)
+
+
+XspPackage()