Added package for beast docs.
authorU-SevenCorn\Stefan <Stefan@SevenCorn.(none)>
Thu, 14 Jan 2010 15:45:55 +0000 (16:45 +0100)
committerU-SevenCorn\Stefan <Stefan@SevenCorn.(none)>
Thu, 14 Jan 2010 15:45:55 +0000 (16:45 +0100)
packages/apps/beastdocs.py [new file with mode: 0644]

diff --git a/packages/apps/beastdocs.py b/packages/apps/beastdocs.py
new file mode 100644 (file)
index 0000000..b374046
--- /dev/null
@@ -0,0 +1,32 @@
+from buildutils import download_and_check, configure, make, apply_patch, git_checkout
+import utils
+from package import Package
+from Path import Path
+
+class BeastDocs(Package):
+  def full_name (self):
+    return "beastdocs"
+
+  def download (self):
+    git_checkout ("http://space.twc.de/public/git", "beastdocs", "master")
+
+  def extract (self):
+    pass
+
+  def patch (self):
+    pass
+
+  def configure (self):
+    configure ([ "sh", "configure", "--prefix", self.config.PREFIX.msys() ], "beastdocs")
+
+  def compile (self):
+    self.compile_with_make ("beastdocs")
+
+  def dist_image (self):
+    self.dist_image_with_make_install ("beastdocs")
+
+  def install (self):
+    self.install_with_dist_image()
+
+def package():
+  return BeastDocs()