1 class XspPackage (GitHubTarballPackage
):
4 GitHubTarballPackage
.__init
__(self
, 'mono', 'xsp', '4.7',
5 '72b24c04c9246dc1005a3cd1a37398777613880d',
6 configure
='./autogen.sh --prefix="%{package_prefix}"')
9 # scoop up some mislocated files
10 misdir
= '%s%s' % (self
.stage_root
, self
.staged_profile
)
11 unprotect_dir(self
.stage_root
)
13 if not os
.path
.exists(misdir
):
14 for path
in iterate_dir(self
.stage_root
):
16 error('Could not find mislocated files')
18 self
.sh('rsync -a --ignore-existing %s/* %s' %
19 (misdir
, self
.profile
.staged_prefix
))
20 self
.sh('rm -rf %s/*' % misdir
)