Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Initial Languages BDSM extension set.

  • Loading branch information...
commit 579445dbeff8aaaad06c03ae6407a4f2009ba9d1 0 parents
Wayne E. Seguin authored August 06, 2011

Showing 116 changed files with 663 additions and 0 deletions. Show diff stats Hide diff stats

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

0 notes on commit 579445d

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