[SM-Commit] GIT changes to master grimoire by Martin Spitzbarth (91a2d6060f8824e66b292650be4a878f58cfaa70)

Martin Spitzbarth scm at sourcemage.org
Fri Jan 11 12:15:04 EST 2008


GIT changes to master grimoire by Martin Spitzbarth <m.spitzbarth at gmx.de>:

 ChangeLog                |    1 +
 ftp/bittornado/BUILD     |    1 +
 ftp/bittornado/CONFIGURE |   10 ++++++++++
 ftp/bittornado/DEPENDS   |    2 ++
 ftp/bittornado/DETAILS   |   17 +++++++++++++++++
 ftp/bittornado/HISTORY   |    7 +++++++
 ftp/bittornado/INSTALL   |   27 +++++++++++++++++++++++++++
 7 files changed, 65 insertions(+)

New commits:
commit 91a2d6060f8824e66b292650be4a878f58cfaa70
Author: Martin Spitzbarth <m.spitzbarth at gmx.de>
Commit: Martin Spitzbarth <m.spitzbarth at gmx.de>

    ftp/bittornado: new spell, a BitTorrent client

diff --git a/ChangeLog b/ChangeLog
index a21ad55..fb076c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2008-01-11 Ladislav Hagara <hgr at vabo.cz>
 	* e/e_module-efm_nav: new spell, E17 EFM Navigation Module
 	* e/e_module-efm_path: new spell, E17 EFM Path Module
+	* ftp/bittornado: new spell, a BitTorrent client
 
 2008-01-11 Vlad Glagolev <stealth at sourcemage.org>
 	* lua-forge/luacrypto: new spell, Lua frontend to OpenSSL (Puffy powah!)
diff --git a/ftp/bittornado/BUILD b/ftp/bittornado/BUILD
new file mode 100755
index 0000000..7bcf699
--- /dev/null
+++ b/ftp/bittornado/BUILD
@@ -0,0 +1 @@
+./setup.py build
diff --git a/ftp/bittornado/CONFIGURE b/ftp/bittornado/CONFIGURE
new file mode 100755
index 0000000..b71bdb1
--- /dev/null
+++ b/ftp/bittornado/CONFIGURE
@@ -0,0 +1,10 @@
+message  "\n${MESSAGE_COLOR}The names to find the man pages as defined by the"\
+         "authors is a mix"  &&
+message  "between man programname and man programname.bittornado."  &&
+message  "The installed programms are all named programmname.py."  \
+         "${DEFAULT_COLOR}"  &&
+config_query_list  BITTORNADO_MANSTYLE  \
+                   "How do you want to refer to the man pages?"  \
+                   "as defined by the authors"  \
+                   "man programname"  \
+                   "man programname.py"
diff --git a/ftp/bittornado/DEPENDS b/ftp/bittornado/DEPENDS
new file mode 100755
index 0000000..8dd50f9
--- /dev/null
+++ b/ftp/bittornado/DEPENDS
@@ -0,0 +1,2 @@
+depends python &&
+optional_depends "wxpython" "" "" "for the gui"
diff --git a/ftp/bittornado/DETAILS b/ftp/bittornado/DETAILS
new file mode 100755
index 0000000..b1c8b3a
--- /dev/null
+++ b/ftp/bittornado/DETAILS
@@ -0,0 +1,17 @@
+           SPELL=bittornado
+         VERSION=0.3.17
+          SOURCE=BitTornado-${VERSION}.tar.gz
+   SOURCE_URL[0]=http://download2.bittornado.com/download/${SOURCE}
+     SOURCE_HASH=sha512:631391039ad6ef346f0b6490de1ac19847862eacb1c15cfcc784c28b52c1ab3297074cb7a6b7f25a1e9700450f583b3a2831ff047fb96c4c2241972816b9489a
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/BitTornado-CVS
+        WEB_SITE=http://bittornado.com/
+      LICENSE[0]=MIT
+           SHORT="An experimental BitTorrent client."
+cat << EOF
+BitTornado is an improved bittorrent client that was built on the original
+BitTorrent. This client features an enhanced console/curses mode, lots of new
+features under the hood, and is generally one of the most advanced clients
+out there. It allows you to limit your bandwidth consumption, and provides
+more control over your torrents. It does everything the original bittorrent
+does, plus more.
+EOF
diff --git a/ftp/bittornado/HISTORY b/ftp/bittornado/HISTORY
new file mode 100644
index 0000000..ffae44f
--- /dev/null
+++ b/ftp/bittornado/HISTORY
@@ -0,0 +1,7 @@
+2008-01-11 Martin Spitzbarth <m.spitzbarth at gmx.de>
+	* DETAILS: Fixed SOURCE, SOURCE_URL[0]
+	  updated spell to 0.3.17
+	* BUILD, CONFIGURE, INSTALL: made spell compile
+
+2006-07-23 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* DETAILS, DEPENDS, HISTORY: created spell
diff --git a/ftp/bittornado/INSTALL b/ftp/bittornado/INSTALL
new file mode 100755
index 0000000..63dc07a
--- /dev/null
+++ b/ftp/bittornado/INSTALL
@@ -0,0 +1,27 @@
+# Sanitize the filenames of the manpages on user request
+case  $BITTORNADO_MANSTYLE in
+
+    "man programname")
+        rename .bittornado. . docs/man/*.bittornado.1
+    ;;
+
+    "man programname.py")
+        # First, bring all extensions to .1
+        # and then add the .py in front of the .1
+        rename .bittornado. . docs/man/*.bittornado.1  &&
+        rename .1 .py.1 docs/man/*.1
+    ;;
+
+    # "as defined by the authors") , as well as *)
+    # Assume a NoOp here as default.
+esac  &&
+
+# manpages go to /usr/share/oc/bittornado/docs/man
+install -m 644  \
+        --target-directory=${INSTALL_ROOT}/usr/share/man/man1/  \
+        docs/man/*.1  &&
+
+# We don't want the CVS artefacts in /usr/share/doc
+rm -r docs/CVS  &&
+
+./setup.py install --prefix=${INSTALL_ROOT}/usr



More information about the SM-Commit mailing list