Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Initial Languages BDSM extension set.

  • Loading branch information...
commit 579445dbeff8aaaad06c03ae6407a4f2009ba9d1 0 parents
@wayneeseguin wayneeseguin authored
Showing with 663 additions and 0 deletions.
  1. 0  R/CHANGELOG.md
  2. +4 −0 R/README.md
  3. 0  R/TODO.md
  4. +1 −0  R/VERSION
  5. +8 −0 R/actions/help
  6. +1 −0  R/config/defaults
  7. +1 −0  R/config/md5
  8. +6 −0 R/modules/shell/initialize
  9. +1 −0  R/modules/shell/modules
  10. +1 −0  README
  11. 0  erlang/CHANGELOG.md
  12. +2 −0  erlang/README.md
  13. 0  erlang/TODO.md
  14. +1 −0  erlang/VERSION
  15. +8 −0 erlang/actions/help
  16. +2 −0  erlang/config/defaults
  17. +1 −0  erlang/config/md5
  18. +24 −0 erlang/modules/shell/initialize
  19. +1 −0  erlang/modules/shell/modules
  20. +4 −0 gcc-fortran/CHANGELOG.md
  21. +4 −0 gcc-fortran/README.md
  22. +9 −0 gcc-fortran/TODO.md
  23. +1 −0  gcc-fortran/VERSION
  24. +7 −0 gcc-fortran/actions/help
  25. +2 −0  gcc-fortran/config/defaults
  26. +1 −0  gcc-fortran/config/md5
  27. +7 −0 gcc-fortran/modules/shell/cli
  28. +6 −0 gcc-fortran/modules/shell/initialize
  29. +1 −0  gcc-fortran/modules/shell/modules
  30. +4 −0 gcc/CHANGELOG.md
  31. +5 −0 gcc/README.md
  32. +4 −0 gcc/TODO.md
  33. +1 −0  gcc/VERSION
  34. +10 −0 gcc/actions/help
  35. +3 −0  gcc/config/defaults
  36. +1 −0  gcc/config/md5
  37. +7 −0 gcc/modules/shell/cli
  38. +24 −0 gcc/modules/shell/initialize
  39. +1 −0  gcc/modules/shell/modules
  40. 0  ghc/CHANGELOG.md
  41. +2 −0  ghc/README.md
  42. 0  ghc/TODO.md
  43. +1 −0  ghc/VERSION
  44. +9 −0 ghc/actions/help
  45. +2 −0  ghc/config/defaults
  46. +1 −0  ghc/config/md5
  47. +8 −0 ghc/modules/shell/dsl
  48. +12 −0 ghc/modules/shell/initialize
  49. +1 −0  ghc/modules/shell/modules
  50. +4 −0 go/CHANGELOG.md
  51. +4 −0 go/README.md
  52. +4 −0 go/TODO.md
  53. +1 −0  go/VERSION
  54. +7 −0 go/actions/help
  55. +1 −0  go/config/defaults
  56. +2 −0  go/config/md5
  57. +46 −0 go/modules/shell/dsl
  58. +1 −0  go/modules/shell/modules
  59. 0  lua/CHANGELOG.md
  60. +2 −0  lua/README.md
  61. 0  lua/TODO.md
  62. +1 −0  lua/VERSION
  63. +9 −0 lua/actions/help
  64. +2 −0  lua/config/defaults
  65. +1 −0  lua/config/md5
  66. +33 −0 lua/modules/shell/dsl
  67. +4 −0 lua/modules/shell/initialize
  68. +1 −0  lua/modules/shell/modules
  69. +4 −0 perl/CHANGELOG.md
  70. +4 −0 perl/README.md
  71. +3 −0  perl/TODO.md
  72. +1 −0  perl/VERSION
  73. +8 −0 perl/actions/help
  74. +3 −0  perl/config/defaults
  75. +1 −0  perl/config/md5
  76. +50 −0 perl/modules/shell/cli
  77. +50 −0 perl/modules/shell/dsl
  78. +1 −0  perl/modules/shell/modules
  79. +4 −0 php/CHANGELOG.md
  80. +4 −0 php/README.md
  81. +4 −0 php/TODO.md
  82. +1 −0  php/VERSION
  83. +9 −0 php/actions/help
  84. +3 −0  php/config/defaults
  85. +1 −0  php/config/md5
  86. +5 −0 php/modules/shell/initialize
  87. +2 −0  php/modules/shell/modules
  88. +4 −0 pypy/CHANGELOG.md
  89. +4 −0 pypy/README.md
  90. +9 −0 pypy/TODO.md
  91. +1 −0  pypy/VERSION
  92. +7 −0 pypy/actions/help
  93. +3 −0  pypy/config/defaults
  94. +6 −0 pypy/config/md5
  95. +9 −0 pypy/modules/shell/dependencies
  96. +58 −0 pypy/modules/shell/dsl
  97. +9 −0 pypy/modules/shell/initialize
  98. +1 −0  pypy/modules/shell/modules
  99. +4 −0 python/CHANGELOG.md
  100. +4 −0 python/README.md
  101. +4 −0 python/TODO.md
  102. +1 −0  python/VERSION
  103. +7 −0 python/actions/help
  104. +2 −0  python/config/defaults
  105. +2 −0  python/config/md5
  106. +7 −0 python/modules/shell/initialize
  107. +1 −0  python/modules/shell/modules
  108. +4 −0 ruby/CHANGELOG.md
  109. +4 −0 ruby/README.md
  110. +3 −0  ruby/TODO.md
  111. +1 −0  ruby/VERSION
  112. +10 −0 ruby/actions/help
  113. +2 −0  ruby/config/defaults
  114. +6 −0 ruby/config/md5
  115. +8 −0 ruby/modules/shell/initialize
  116. +1 −0  ruby/modules/shell/modules
0  R/CHANGELOG.md
No changes.
4 R/README.md
@@ -0,0 +1,4 @@
+# R BDSM Extension
+
+R Website: http://cran.r-project.org/
+
0  R/TODO.md
No changes.
1  R/VERSION
@@ -0,0 +1 @@
+0.0.1
8 R/actions/help
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "package install" "Installs ${package_name} ${package_version}."
+action "package uninstall" "Installs ${package_name} ${package_version}."
+
+show_help usage
1  R/config/defaults
@@ -0,0 +1 @@
+version=2.13.0
1  R/config/md5
@@ -0,0 +1 @@
+R-2.13.0.tar.gz=ecfb928067cfd932e75135f8b8bba3e7
6 R/modules/shell/initialize
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+package_definition \
+ base_url "http://cran.cnr.berkeley.edu/src/base/R-${package_version//.*}"
+
+configure_flags+=("--enable-R-shlib")
1  R/modules/shell/modules
@@ -0,0 +1 @@
+ext/package
1  README
@@ -0,0 +1 @@
+A BDSM extension set providing extensions for managing various programming languages.
0  erlang/CHANGELOG.md
No changes.
2  erlang/README.md
@@ -0,0 +1,2 @@
+# Erlang Extension Template
+
0  erlang/TODO.md
No changes.
1  erlang/VERSION
@@ -0,0 +1 @@
+0.0.1
8 erlang/actions/help
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "install" "Install ${package_name} ${package_version}."
+action "uninstall" "Uninstall ${package_name} ${package_version}."
+
+show_help usage
2  erlang/config/defaults
@@ -0,0 +1,2 @@
+version=R13B04
+base_url=http://erlang.org/download
1  erlang/config/md5
@@ -0,0 +1 @@
+otp_src_R13B04.tar.gz=ca6da4921e438891967900aa6a084341
24 erlang/modules/shell/initialize
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+package_definition \
+ file "otp_src_${package_version}.${archive_format}" \
+ dir "otp_src_${package_version}"
+
+package_dependencies=( ncurses openssl )
+
+configure_flags=(
+ --enable-hipe
+ --enable-smp-support
+ --enable-threads
+ --enable-kernel-poll
+)
+
+if os_is_darwin
+then
+ configure_flags[${#configure_flags[@]}]="--enable-darwin-64bit"
+fi
+
+# It is important to build single threaded,
+# which is very amusing given it is for Erlang...
+make_flags="-j1"
+
1  erlang/modules/shell/modules
@@ -0,0 +1 @@
+modules ext/package
4 gcc-fortran/CHANGELOG.md
@@ -0,0 +1,4 @@
+# BDSM Extension Change Log
+
+* 0.0.1 - Initial Extension Release
+
4 gcc-fortran/README.md
@@ -0,0 +1,4 @@
+# Extension README
+
+This extension has the purpose...
+
9 gcc-fortran/TODO.md
@@ -0,0 +1,9 @@
+# Extension TODO List
+
+* TODO: Package and release the extension.
+* TODO: Write the extension actions
+* TODO: Adjust the cli to meet the extensions requirements
+* TODO: Write the extension functions
+* TODO: Write the extension initialize
+* TODO: Write the extension README
+
1  gcc-fortran/VERSION
@@ -0,0 +1 @@
+0.0.1
7 gcc-fortran/actions/help
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "help" "Display help for ${extension}."
+
+show_help usage
2  gcc-fortran/config/defaults
@@ -0,0 +1,2 @@
+version=4.6.0
+archive_format=tar.bz2
1  gcc-fortran/config/md5
@@ -0,0 +1 @@
+gcc-fortran-4.6.0.tar.bz2=a4687a9035c3e92db7e84fc01fc548ef
7 gcc-fortran/modules/shell/cli
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+if [[ ! "${configure_flags[*]}" =~ *--prefix* ]]
+then
+ configure_flags+=(--prefix "${install_path}")
+fi
+
6 gcc-fortran/modules/shell/initialize
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+package_definition \
+ base_url "http://mirror.rit.edu/gnu/gcc/gcc-${package_version}"
+ dir "gcc-${package_version}/libgfortran"
+
1  gcc-fortran/modules/shell/modules
@@ -0,0 +1 @@
+ext/package
4 gcc/CHANGELOG.md
@@ -0,0 +1,4 @@
+# BDSM Extension Change Log
+
+* 0.0.1 - Initial Extension Release
+
5 gcc/README.md
@@ -0,0 +1,5 @@
+# Extension README
+
+This extension installs the GNU Compiler Collection (GCC)
+
+For more information about GCC visit the website at http://gcc.gnu.org/
4 gcc/TODO.md
@@ -0,0 +1,4 @@
+# Extension TODO List
+
+* TODO: Package and release the extension.
+
1  gcc/VERSION
@@ -0,0 +1 @@
+0.0.1
10 gcc/actions/help
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "package install" "Installs ${package_name} ${package_version}."
+action "package uninstall" "Installs ${package_name} ${package_version}."
+
+action "help" "Display help for ${extension}."
+
+show_help usage
3  gcc/config/defaults
@@ -0,0 +1,3 @@
+version=4.6.0
+archive_format=tar.bz2
+website_url=http://gcc.gnu.org/
1  gcc/config/md5
@@ -0,0 +1 @@
+gcc-4.6.0.tar.bz2=93d1c436bf991564524701259b6285a2
7 gcc/modules/shell/cli
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+if [[ ! "${configure_flags[*]}" =~ *--prefix* ]]
+then
+ configure_flags+=(--prefix "${install_path}")
+fi
+
24 gcc/modules/shell/initialize
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+package_definition \
+ base_url "http://mirror.rit.edu/gnu/gcc/gcc-${package_version}"
+
+for library in gmp mpfr mpc iconv
+do
+ if path_exists "${packages_path}/${library}/active"
+ then
+ configure_flags+=( --with-${library}="${packages_path}/active" )
+ else
+ error "${library} was not found installed via bdsm,"\
+ " install it and then retry."
+ fi
+done
+unset library
+
+if os_is_darwin
+then
+ # --build=${build_arch}-apple-darwin${os_major_version}
+ # TODO: allow --languages flag from CLI
+ # "--enable-languages=c,c++,objc,obj-c++,fortran"
+ configure_flags+=("--enable-fully-dynamic-string" "--enable-languages=c,objc,fortran")
+fi
1  gcc/modules/shell/modules
@@ -0,0 +1 @@
+ext/package
0  ghc/CHANGELOG.md
No changes.
2  ghc/README.md
@@ -0,0 +1,2 @@
+# Extension Template
+
0  ghc/TODO.md
No changes.
1  ghc/VERSION
@@ -0,0 +1 @@
+0.0.1
9 ghc/actions/help
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "install" "Installs ${package_name} ${package_version}."
+action "uninstall" "Uninstalls ${package_name} ${package_version}."
+
+show_help usage
+
2  ghc/config/defaults
@@ -0,0 +1,2 @@
+version=7.0.2
+archive_format=tar.bz2
1  ghc/config/md5
@@ -0,0 +1 @@
+#ghc-7.0.2-src.tar.bz2=
8 ghc/modules/shell/dsl
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+#
+# Before building,
+# echo "EXTRA_CABAL_CONFIGURE_FLAGS = --extra-include-dirs=${prefix_path}/include --extra-lib-dirs=${prefix_path}/lib" \
+# >> "mk/build.mk"
+#
+
12 ghc/modules/shell/initialize
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+package_definition \
+ base_url "http://haskell.org/ghc/dist/${package_version}" \
+ file "${package_name}-${package_version}-src.${archive_format}"
+
+#
+# http://haskell.org/ghc/download_ghc_7_0_2#distros
+#
+# haskell-platform
+# http://lambda.galois.com/hp-tmp/2011.2.0.0/haskell-platform-2011.2.0.0.tar.gz
+#
1  ghc/modules/shell/modules
@@ -0,0 +1 @@
+ext/package
4 go/CHANGELOG.md
@@ -0,0 +1,4 @@
+# BDSM Extension Change Log
+
+* 0.0.1 - Initial Extension Release
+
4 go/README.md
@@ -0,0 +1,4 @@
+# Extension README
+
+This extension installs the go programming language.
+
4 go/TODO.md
@@ -0,0 +1,4 @@
+# Extension TODO List
+
+* TODO: Package and release the extension.
+
1  go/VERSION
@@ -0,0 +1 @@
+0.0.1
7 go/actions/help
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "help" "Display help for ${extension}."
+
+show_help usage
1  go/config/defaults
@@ -0,0 +1 @@
+version=head
2  go/config/md5
@@ -0,0 +1,2 @@
+# The format for this file is: ${downloaded file name}=${md5 sum}, For example,
+#bash-4.2.tar.gz=3fb927c7c33022f1c327f14a81c0d4b0
46 go/modules/shell/dsl
@@ -0,0 +1,46 @@
+#!/usr/bin/env bash
+
+go_fetch()
+{
+ enter "${source_path}"
+ if command_exists hg
+ then
+ remove_paths "${source_path}/${package_dir}"
+ ensure_paths_exist "${source_path}"
+ enter "${source_path}"
+ #TODO: use fetch_uri !!!
+ hg clone -u release https://go.googlecode.com/hg/ "${source_path}/${package_dir}"
+ else
+ error "go requires mercurial, please install the mercurial bdsm package first."
+ fi
+}
+
+go_build()
+{
+ export GOROOT="${source_path}/${package_dir}"
+ enter "${source_path}/${package_dir}/src"
+ ./all.bash
+}
+
+go_install()
+{
+ local _path _paths _file _files
+
+ enter "${source_path}/${package_dir}"
+
+ for dir in pkg lib include bin misc src
+ do
+ _paths=($( find "${source_path}/${package_dir}/${dir}" -type d ))
+ for _path in "${_paths[@]}"
+ do
+ ensure_paths_exist "${install_path}${_path##${source_path}/${package_dir}}"
+ done
+
+ _files=($( find "${source_path}/${package_dir}/${dir}" -type f ))
+ for _file in "${_files[@]}"
+ do
+ cp -f "${_file}" "${install_path}${_file##${source_path}/${package_dir}}"
+ done
+ done
+}
+
1  go/modules/shell/modules
@@ -0,0 +1 @@
+ext/package
0  lua/CHANGELOG.md
No changes.
2  lua/README.md
@@ -0,0 +1,2 @@
+# Extension Template
+
0  lua/TODO.md
No changes.
1  lua/VERSION
@@ -0,0 +1 @@
+0.0.1
9 lua/actions/help
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "package install" "Installs ${package_name} ${package_version}."
+action "package uninstall" "Installs ${package_name} ${package_version}."
+
+show_help usage
+
2  lua/config/defaults
@@ -0,0 +1,2 @@
+version=5.2.0-alpha
+base_url=http://www.lua.org/work
1  lua/config/md5
@@ -0,0 +1 @@
+lua-5.2.0-alpha.tar.gz=1c4a4aaa04e0cb658507d3aa1ee80825
33 lua/modules/shell/dsl
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+
+lua_build()
+{
+ log "Building ${package_name} ${package_version}"
+ # Override make command based on platform type.
+ if os_is_linux
+ then
+ make linux
+ elif os_is_darwin
+ then
+ make darwin
+ elif os_is_solaris
+ then
+ make solaris
+ elif os_is_aix
+ then
+ make aix
+ else # posix...
+ make posix
+ fi
+}
+
+lua_install()
+{
+ log "Installing ${package_name} ${package_version}"
+ (
+ enter "src/"
+ copy_files to "${install_path}/bin" lua luac mode 0755
+ )
+
+ # TODO: Do we want any of the library files?
+}
4 lua/modules/shell/initialize
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+
+true "${package_dir:="${package_name}-${package_version}"}"
+
1  lua/modules/shell/modules
@@ -0,0 +1 @@
+ext/package
4 perl/CHANGELOG.md
@@ -0,0 +1,4 @@
+# BDSM Extension Change Log
+
+* 0.0.1 - Initial Perl Extension Release
+
4 perl/README.md
@@ -0,0 +1,4 @@
+# BDSM Extension README
+
+This extension manages Perl installations.
+
3  perl/TODO.md
@@ -0,0 +1,3 @@
+# BDSM Extension TODO List
+
+* TODO: Package and release the extension.
1  perl/VERSION
@@ -0,0 +1 @@
+0.0.1
8 perl/actions/help
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "package install" "Installs ${package_name} ${package_version}."
+action "package uninstall" "Installs ${package_name} ${package_version}."
+
+show_help
3  perl/config/defaults
@@ -0,0 +1,3 @@
+version=5.12.3
+base_url=http://www.cpan.org/src
+archive_format=tar.bz2
1  perl/config/md5
@@ -0,0 +1 @@
+perl-5.12.3.tar.bz2=72f3f7e1c700e79bbf9d9279ca5b42d9
50 perl/modules/shell/cli
@@ -0,0 +1,50 @@
+#!/usr/bin/env bash
+
+usage() {
+ printf "
+ Usage:
+
+ $0 [options]
+
+ options:
+
+ --prefix - specify prefix path
+ --version - specify version to install
+ --license - view license
+ --help - view this usage information
+
+"
+ return 0
+}
+
+number_of_args=${#extension_args[@]}
+
+for ((index=0 ; index < $number_of_args ; index++)) ; do
+
+ token="${extension_args[$index]}"
+
+ case "$token" in
+ --prefix)
+ prefix_path="${extension_args[$((++index))]}"
+ ;;
+ --version)
+ package_version="${extension_args[$((++index))]}"
+ ;;
+ --license)
+ extension_license
+ exit 0
+ ;;
+ --help)
+ usage
+ exit 0
+ ;;
+ --trace)
+ set -o xtrace
+ ;;
+ *)
+ true # Ignore?
+ ;;
+ esac
+
+done
+
50 perl/modules/shell/dsl
@@ -0,0 +1,50 @@
+#!/usr/bin/env bash
+
+# perl-5.12.3$ sh Configure -h
+#
+#Usage: Configure [-dehrsEKOSV] [-f config.sh] [-D symbol] [-D symbol=value]
+# [-U symbol] [-U symbol=] [-A command:symbol...]
+# -d : use defaults for all answers.
+# -e : go on without questioning past the production of config.sh.
+# -f : specify an alternate default configuration file.
+# -h : print this help message and exit (with an error status).
+# -r : reuse C symbols value if possible (skips costly nm extraction).
+# -s : silent mode, only echoes questions and essential information.
+# -D : define symbol to have some value:
+# -D symbol symbol gets the value 'define'
+# -D symbol=value symbol gets the value 'value'
+# common used examples (see INSTALL for more info):
+# -Duse64bitint use 64bit integers
+# -Duse64bitall use 64bit integers and pointers
+# -Dusethreads use thread support
+# -Dinc_version_list=none do not include older perl trees in @INC
+# -DEBUGGING=none DEBUGGING options
+# -Dcc=gcc choose your compiler
+# -Dprefix=/opt/perl5 choose your destination
+# -E : stop at the end of questions, after having produced config.sh.
+# -K : do not use unless you know what you are doing.
+# -O : let -D and -U override definitions from loaded configuration file.
+# -S : perform variable substitutions on all .SH files (can mix with -f)
+# -U : undefine symbol:
+# -U symbol symbol gets the value 'undef'
+# -U symbol= symbol gets completely empty
+# e.g.: -Uversiononly
+# -A : manipulate symbol after the platform specific hints have been applied:
+# -A append:symbol=value append value to symbol
+# -A symbol=value like append:, but with a separating space
+# -A define:symbol=value define symbol to have value
+# -A clear:symbol define symbol to be ''
+# -A define:symbol define symbol to be 'define'
+# -A eval:symbol=value define symbol to be eval of value
+# -A prepend:symbol=value prepend value to symbol
+# -A undef:symbol define symbol to be 'undef'
+# -A undef:symbol= define symbol to be ''
+# e.g.: -A prepend:libswanted='cl pthread '
+# -A ccflags=-DSOME_MACRO
+# -V : print version number and exit (with a zero status).
+#
+
+perl_configure()
+{
+ sh Configure -de -Dprefix="${install_path}"
+}
1  perl/modules/shell/modules
@@ -0,0 +1 @@
+ext/package
4 php/CHANGELOG.md
@@ -0,0 +1,4 @@
+# BDSM Extension Change Log
+
+* 0.0.1 - Initial Extension Release
+
4 php/README.md
@@ -0,0 +1,4 @@
+# Extension README
+
+This extension installs php
+
4 php/TODO.md
@@ -0,0 +1,4 @@
+# Extension TODO List
+
+* TODO: Package and release the extension.
+
1  php/VERSION
@@ -0,0 +1 @@
+0.0.1
9 php/actions/help
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "package install" "Installs ${package_name} ${package_version}."
+action "package uninstall" "Installs ${package_name} ${package_version}."
+action "help" "Display help for ${extension}."
+
+show_help usage
3  php/config/defaults
@@ -0,0 +1,3 @@
+version=5.3.6
+base_url=http://www.php.net/distributions
+archive_format=tar.bz2
1  php/config/md5
@@ -0,0 +1 @@
+php-5.3.6.tar.bz2=2286f5a82a6e8397955a0025c1c2ad98
5 php/modules/shell/initialize
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+package_definition \
+ file "php${package_version}.tar.bz2"
+
2  php/modules/shell/modules
@@ -0,0 +1,2 @@
+ext/package
+ext/service
4 pypy/CHANGELOG.md
@@ -0,0 +1,4 @@
+# BDSM Extension Change Log
+
+* 0.0.1 - Initial Extension Release
+
4 pypy/README.md
@@ -0,0 +1,4 @@
+# Extension README
+
+This extension has the purpose...
+
9 pypy/TODO.md
@@ -0,0 +1,9 @@
+# Extension TODO List
+
+* TODO: Package and release the extension.
+* TODO: Write the extension actions
+* TODO: Adjust the cli to meet the extensions requirements
+* TODO: Write the extension functions
+* TODO: Write the extension initialize
+* TODO: Write the extension README
+
1  pypy/VERSION
@@ -0,0 +1 @@
+0.0.1
7 pypy/actions/help
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "help" "Display help for ${extension}."
+
+show_help usage
3  pypy/config/defaults
@@ -0,0 +1,3 @@
+version=1.5
+base_url=https://bitbucket.org/pypy/pypy/downloads
+archive_format=tar.bz2
6 pypy/config/md5
@@ -0,0 +1,6 @@
+pypy-1.5-src.tar.bz2=cb9ada2c50666318c3a2863da1fbe487
+pypy-1.5-linux.tar.bz2=08a2c95163c95f91772abb8bf5f8b9cb
+pypy-1.5-linux64.tar.bz2=32392b7986eb34cd657d5b6c5d242cc7
+pypy-1.5-osx64.tar.bz2=b1417916bc01ebb9f95c666f5e397fb5
+pypy-1.5-win32.zip=b6cc12bed5e7243ed44aa3430eb14885
+pypy-1.5-src.tar.bz2=cb9ada2c50666318c3a2863da1fbe487
9 pypy/modules/shell/dependencies
@@ -0,0 +1,9 @@
+#pkg-config # to locate libffi files
+#zlib # optional zlib module)
+#bz2 # optional bz2 module)
+#ncurses # optional _minimal_curses module)
+#expat1 # optional pyexpat module)
+#openssl # optional _ssl module)
+#gc-dev # for the Boehm garbage collector: only needed when translating with –opt=0, 1 or size)
+#python-sphinx # >= 1.0.7, for optional documentation build
+#python-greenlet # optional stackless support in interpreted mode/testing)
58 pypy/modules/shell/dsl
@@ -0,0 +1,58 @@
+#!/usr/bin/env bash
+
+set_package_type()
+{
+ if os_is_linux
+ then
+ if [[ "$(os_arch_type)" == "x86_64" ]]
+ then
+ package_type="linux64"
+ else
+ package_type="linux"
+ fi
+ elif os_is_darwin
+ then
+ package_type="osx64"
+ else
+ package_type="src"
+ fi
+
+ return 0
+}
+
+pypy_configure()
+{
+ case "${package_type}" in
+ src)
+ package_configure
+ ;;
+ *)
+ true # nothing to do here.
+ ;;
+ esac
+}
+
+pypy_build()
+{
+ case "${package_type}" in
+ src)
+ package_configure
+ ;;
+ *)
+ true # nothing to do here.
+ ;;
+ esac
+}
+
+pypy_install()
+{
+ case "${package_type}" in
+ src)
+ package_configure
+ ;;
+ *)
+ true # nothing to do here.
+ ;;
+ esac
+}
+
9 pypy/modules/shell/initialize
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+set_package_type
+
+package_definition \
+ file "${package_name}-${package_version}-${package_type}.tar.bz2" \
+ dir "${package_name}-${package_version}-${package_type}"
+
+
1  pypy/modules/shell/modules
@@ -0,0 +1 @@
+ext/package
4 python/CHANGELOG.md
@@ -0,0 +1,4 @@
+# BDSM Extension Change Log
+
+* 0.0.1 - Initial Extension Release
+
4 python/README.md
@@ -0,0 +1,4 @@
+# Extension README
+
+This extension installs the Python programming language (C Reference Version).
+
4 python/TODO.md
@@ -0,0 +1,4 @@
+# Extension TODO List
+
+* TODO: Package and release the extension.
+
1  python/VERSION
@@ -0,0 +1 @@
+0.0.1
7 python/actions/help
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "help" "Display help for ${extension}."
+
+show_help usage
2  python/config/defaults
@@ -0,0 +1,2 @@
+version=3.2.1
+archive_format=tar.bz2
2  python/config/md5
@@ -0,0 +1,2 @@
+Python-3.2.1.tar.bz2=f0869ba3f3797aacb1f954ef24c256f3
+Python-2.7.2.tar.bz2=ba7b2f11ffdbf195ee0d111b9455a5bd
7 python/modules/shell/initialize
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+
+package_definition \
+ base_url "http://www.python.org/ftp/python/${package_version}" \
+ file "Python-${package_version}.tar.bz2" \
+ dir "Python-${package_version}"
+
1  python/modules/shell/modules
@@ -0,0 +1 @@
+ext/package
4 ruby/CHANGELOG.md
@@ -0,0 +1,4 @@
+# BDSM Extension Change Log
+
+* 0.0.1 - Initial Extension Release
+
4 ruby/README.md
@@ -0,0 +1,4 @@
+# BDSM Extension README
+
+Installs MRI Ruby interpreters.
+
3  ruby/TODO.md
@@ -0,0 +1,3 @@
+# BDSM Extension TODO List
+
+* TODO: Package and release the extension.
1  ruby/VERSION
@@ -0,0 +1 @@
+0.0.1
10 ruby/actions/help
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+description "${extension} BDSM extension."
+
+action "package install" "Installs ${package_name} ${package_version}."
+action "package uninstall" "Installs ${package_name} ${package_version}."
+
+action "setup" "Setup and Configure $extension."
+
+show_help usage
2  ruby/config/defaults
@@ -0,0 +1,2 @@
+version=1.9.2-p180
+archive_format=tar.bz2
6 ruby/config/md5
@@ -0,0 +1,6 @@
+ruby-1.9.2.tar.bz2=09160022b4ddceb10e470198c87b3d49
+ruby-1.9.2-p180.tar.bz2=68510eeb7511c403b91fe5476f250538
+ruby-1.9.2-p136.tar.bz2=52958d35d1b437f5d9d225690de94c13
+ruby-1.9.2-p0.tar.bz2=d8a02cadf57d2571cd4250e248ea7e4b
+ruby-1.8.7-p334.tar.bz2=2f14f604bf981bb938ab5fc8b09eb1a6
+ruby-1.8.7-p330.tar.bz2=2689719fb42c8cf0aa336f8c8933f413
8 ruby/modules/shell/initialize
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+package_definition \
+ base_url "http://ftp.ruby-lang.org/pub/ruby/${package_version%.*}"
+
+# static?
+# package_dependencies=(openssl iconv readline zlib)
+
1  ruby/modules/shell/modules
@@ -0,0 +1 @@
+ext/package

0 comments on commit 579445d

Please sign in to comment.
Something went wrong with that request. Please try again.