diff options
Diffstat (limited to 'packages/gtk-sharp.py')
-rw-r--r-- | packages/gtk-sharp.py | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/packages/gtk-sharp.py b/packages/gtk-sharp.py index e9655c0..429349f 100644 --- a/packages/gtk-sharp.py +++ b/packages/gtk-sharp.py @@ -1,33 +1,11 @@ class GtkSharpPackage (Package): def __init__ (self): Package.__init__ (self, 'gtk-sharp', '2-12-branch') - self.branch = '212' - # self.sources = [ - # 'http://ftp.novell.com/pub/mono/sources/%{name}%{branch}/%{name}-%{version}.tar.bz2' - # ] - - def svn_co_or_up (self): - self.cd ('..') - if os.path.isdir ('svn'): - self.cd ('svn') - #self.sh ('svn up') - else: - self.sh ('svn co http://anonsvn.mono-project.com/source/branches/%{name}-%{version} svn') - self.cd ('svn') - self.cd ('..') - - def prep (self): - self.svn_co_or_up () - self.sh ('cp -r svn _build') - self.cd ('_build/svn') - - def build (self): - self.sh ( - './bootstrap-2.12 --prefix="%{prefix}"', - '%{make}' - ) - - def install (self): - self.sh ('%{makeinstall}') + self.commit = 'b078aacaf263af84605812d778b62afbdf3e1b59' + self.source_dir_name = 'mono-gtk-sharp-%s' % self.commit[:7] + self.configure = './bootstrap-2.12 --prefix="%{prefix}"' + self.sources = [ + 'http://github.com/mono/gtk-sharp/tarball/%{commit}' + ] GtkSharpPackage () |