Skip to content

Commit

Permalink
Initial Libraries Extension Set.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed Aug 7, 2011
1 parent b6f3c6c commit dbc14a5
Show file tree
Hide file tree
Showing 122 changed files with 437 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README
@@ -1 +1,2 @@
A BDSM extension set providing extensions for various libraries.
A BDSM extension set providing extensions for various libraries that programs
often link against.
4 changes: 4 additions & 0 deletions bcrypt/CHANGELOG.md
@@ -0,0 +1,4 @@
# BDSM Extension Change Log

* 0.0.1 - Initial Extension Release

4 changes: 4 additions & 0 deletions bcrypt/README.md
@@ -0,0 +1,4 @@
# BDSM Extension README

This extension installs the bcrypt libraries.

3 changes: 3 additions & 0 deletions bcrypt/TODO.md
@@ -0,0 +1,3 @@
# BDSM Extension TODO List

* TODO: Package and release the extension.
1 change: 1 addition & 0 deletions bcrypt/VERSION
@@ -0,0 +1 @@
0.0.1
8 changes: 8 additions & 0 deletions bcrypt/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
4 changes: 4 additions & 0 deletions bcrypt/config/defaults
@@ -0,0 +1,4 @@
version=1.1
archive_format=tar.gz
base_url=http://bcrypt.sourceforge.net
website=http://bcrypt.sourceforge.net
1 change: 1 addition & 0 deletions bcrypt/config/md5
@@ -0,0 +1 @@
bcrypt-1.1.tar.gz=8ce2873836ccd433329c8df0e37e298c
8 changes: 8 additions & 0 deletions bcrypt/modules/shell/dsl
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

bcrypt_configure()
{
enter "${source_path}/${package_dir}"

replace_content "^PREFIX =.*" with "PREFIX = ${install_path}" in "Makefile"
}
1 change: 1 addition & 0 deletions bcrypt/modules/shell/modules
@@ -0,0 +1 @@
ext/package
4 changes: 4 additions & 0 deletions freetds/CHANGELOG.md
@@ -0,0 +1,4 @@
# BDSM Extension Change Log

* 0.0.1 - Initial Extension Release

7 changes: 7 additions & 0 deletions freetds/README.md
@@ -0,0 +1,7 @@
# FreeTDS BDSM Extension README

FreeTDS installer.

Visit the FreeTDS website for more information about FreeTDS,
http://www.freetds.org/

3 changes: 3 additions & 0 deletions freetds/TODO.md
@@ -0,0 +1,3 @@
# BDSM Extension TODO List

* TODO: Package and release the extension.
1 change: 1 addition & 0 deletions freetds/VERSION
@@ -0,0 +1 @@
0.0.1
8 changes: 8 additions & 0 deletions freetds/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
3 changes: 3 additions & 0 deletions freetds/config/defaults
@@ -0,0 +1,3 @@
version=0.82
base_url=http://www.ibiblio.org/pub/Linux/ALPHA/freetds/stable
archive_format=tar.gz
1 change: 1 addition & 0 deletions freetds/config/md5
@@ -0,0 +1 @@
freetds-0.91RC2.tar.bz2=ee544f14b54899933f1d6c2e964238fc
17 changes: 17 additions & 0 deletions freetds/modules/shell/dsl
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

# freetds_postfetch()
# {
# local _directory=$(
# cd "${source_path}"
# find . -mindepth 1 -maxdepth 1 -iname "${package_name}-${package_version}*" -type d
# )
#
# if variable_is_nonempty _directory
# then
# if [[ "${_directory}" != "${package_dir}" ]]
# then
# move_directory "${_directory}" to "${package_dir}"
# fi
# fi
# }
1 change: 1 addition & 0 deletions freetds/modules/shell/modules
@@ -0,0 +1 @@
ext/package
4 changes: 4 additions & 0 deletions freetype/CHANGELOG.md
@@ -0,0 +1,4 @@
# BDSM Extension Change Log

* 0.0.1 - Initial Extension Release

4 changes: 4 additions & 0 deletions freetype/README.md
@@ -0,0 +1,4 @@
# BDSM Extension README

This is a BDSM extension which has the purpose to...

7 changes: 7 additions & 0 deletions freetype/TODO.md
@@ -0,0 +1,7 @@
# BDSM Extension TODO List

* TODO: Package and release the extension.
* TODO: Write the extension actions
* TODO: Write the extension functions
* TODO: Write the extension initialize
* TODO: Write the extension README
1 change: 1 addition & 0 deletions freetype/VERSION
@@ -0,0 +1 @@
0.0.1
8 changes: 8 additions & 0 deletions freetype/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 changes: 2 additions & 0 deletions freetype/config/defaults
@@ -0,0 +1,2 @@
version=2.4.3
base_url=http://nongnu.askapache.com/freetype
7 changes: 7 additions & 0 deletions freetype/config/md5
@@ -0,0 +1,7 @@
#
# The format for this file is:
#
# ${downloaded file name}=${md5 sum}
#
# For example,
#bash-4.2.tar.gz=3fb927c7c33022f1c327f14a81c0d4b0
1 change: 1 addition & 0 deletions freetype/modules/shell/modules
@@ -0,0 +1 @@
ext/package
4 changes: 4 additions & 0 deletions gettext/CHANGELOG.md
@@ -0,0 +1,4 @@
# BDSM Extension Change Log

* 0.0.1 - Initial Extension Release

4 changes: 4 additions & 0 deletions gettext/README.md
@@ -0,0 +1,4 @@
# BDSM Extension README

Installs gettext.

3 changes: 3 additions & 0 deletions gettext/TODO.md
@@ -0,0 +1,3 @@
# BDSM Extension TODO List

* TODO: Package and release the extension.
1 change: 1 addition & 0 deletions gettext/VERSION
@@ -0,0 +1 @@
0.0.1
8 changes: 8 additions & 0 deletions gettext/actions/help
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

description "${extension} BDSM extension."

action "install" "Install $extension ${package_version}"
action "uninstall" "Uninstall $extension ${package_version}"

show_help usage
3 changes: 3 additions & 0 deletions gettext/config/defaults
@@ -0,0 +1,3 @@
version=0.18.1
base_url=http://mirrors.kernel.org/gnu/gettext
archive_format=tar.gz
1 change: 1 addition & 0 deletions gettext/config/md5
@@ -0,0 +1 @@
gettext-0.18.1.tar.gz=2ae04f960d5fa03774636ddef19ebdbf
1 change: 1 addition & 0 deletions gettext/modules/shell/modules
@@ -0,0 +1 @@
ext/package
4 changes: 4 additions & 0 deletions ghostscript/CHANGELOG.md
@@ -0,0 +1,4 @@
# BDSM Extension Change Log

* 0.0.1 - Initial Extension Release

4 changes: 4 additions & 0 deletions ghostscript/README.md
@@ -0,0 +1,4 @@
# BDSM Extension README

This extension installs ghostscript.

6 changes: 6 additions & 0 deletions ghostscript/TODO.md
@@ -0,0 +1,6 @@
# BDSM Extension TODO List

* TODO: Package and release the extension.
* TODO: Write the extension README
# TODO: Install ghostcript fonts

1 change: 1 addition & 0 deletions ghostscript/VERSION
@@ -0,0 +1 @@
0.0.1
8 changes: 8 additions & 0 deletions ghostscript/actions/help
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

description "${extension} BDSM extension."

action "install" "Installs ${package_name} ${package_version}."
action "uninstall" "Uninstall $extension ${package_version}"

show_help usage
1 change: 1 addition & 0 deletions ghostscript/config/defaults
@@ -0,0 +1 @@
version=9.00
Empty file added ghostscript/config/md5
Empty file.
13 changes: 13 additions & 0 deletions ghostscript/modules/shell/initialize
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# package_definition \
# name=ghostscript-fonts-std
# version=8.11
# base_url="http://voxel.dl.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29"
#
# install_code=mv fonts /usr/local/share/ghostscript


package_definition \
base_url "http://voxel.dl.sourceforge.net/project/ghostscript/GPL%20Ghostscript/${package_version}"

1 change: 1 addition & 0 deletions ghostscript/modules/shell/modules
@@ -0,0 +1 @@
ext/package
Empty file added iconv/CHANGELOG.md
Empty file.
2 changes: 2 additions & 0 deletions iconv/README.md
@@ -0,0 +1,2 @@
# Extension Template

Empty file added iconv/TODO.md
Empty file.
1 change: 1 addition & 0 deletions iconv/VERSION
@@ -0,0 +1 @@
0.0.1
8 changes: 8 additions & 0 deletions iconv/actions/help
@@ -0,0 +1,8 @@
#!/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 changes: 2 additions & 0 deletions iconv/config/defaults
@@ -0,0 +1,2 @@
version=1.13.1
base_url=http://ftp.gnu.org/pub/gnu/libiconv
1 change: 1 addition & 0 deletions iconv/config/md5
@@ -0,0 +1 @@
libiconv-1.13.1.tar.gz=7ab33ebd26687c744a37264a330bbe9a
5 changes: 5 additions & 0 deletions iconv/modules/shell/initialize
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

package_definition \
file "libiconv-${package_version}.${archive_format}" \
dir "libiconv-${package_version}"
1 change: 1 addition & 0 deletions iconv/modules/shell/modules
@@ -0,0 +1 @@
ext/package
4 changes: 4 additions & 0 deletions imagemagick/CHANGELOG.md
@@ -0,0 +1,4 @@
# BDSM Extension Change Log

* 0.0.1 - Initial Extension Release

4 changes: 4 additions & 0 deletions imagemagick/README.md
@@ -0,0 +1,4 @@
# BDSM Extension README

This extension installs ImageMagick.

3 changes: 3 additions & 0 deletions imagemagick/TODO.md
@@ -0,0 +1,3 @@
# BDSM Extension TODO List

* TODO: Package and release the extension.
1 change: 1 addition & 0 deletions imagemagick/VERSION
@@ -0,0 +1 @@
0.0.1
8 changes: 8 additions & 0 deletions imagemagick/actions/help
@@ -0,0 +1,8 @@
#!/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
3 changes: 3 additions & 0 deletions imagemagick/config/defaults
@@ -0,0 +1,3 @@
version=6.6.9-3
archive_format=tar.bz2
base_url=ftp://ftp.imagemagick.org/pub
1 change: 1 addition & 0 deletions imagemagick/config/md5
@@ -0,0 +1 @@
ImageMagick-6.6.9-3.tar.bz2=8beac838b52eedd9039227d95b870fdb
7 changes: 7 additions & 0 deletions imagemagick/modules/shell/initialize
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

package_definition \
file "ImageMagick-${package_version}.${archive_format}" \
dir "ImageMagick-${package_version}"

package_dependencies=( freetype libpng jpeg tiff libwmf lcms ghostscript)
1 change: 1 addition & 0 deletions imagemagick/modules/shell/modules
@@ -0,0 +1 @@
ext/package
4 changes: 4 additions & 0 deletions jpeg/CHANGELOG.md
@@ -0,0 +1,4 @@
# BDSM Extension Change Log

* 0.0.1 - Initial Extension Release

4 changes: 4 additions & 0 deletions jpeg/README.md
@@ -0,0 +1,4 @@
# BDSM Extension README

This extension installs libjpeg.

4 changes: 4 additions & 0 deletions jpeg/TODO.md
@@ -0,0 +1,4 @@
# BDSM Extension TODO List

* TODO: Package and release the extension.

1 change: 1 addition & 0 deletions jpeg/VERSION
@@ -0,0 +1 @@
0.0.1
9 changes: 9 additions & 0 deletions jpeg/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 changes: 2 additions & 0 deletions jpeg/config/defaults
@@ -0,0 +1,2 @@
name=jpegsrc
version=v8b
Empty file added jpeg/config/md5
Empty file.
17 changes: 17 additions & 0 deletions jpeg/modules/shell/initialize
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

package_definition \
dir="jpeg-8b" \
file="${package_name}.${package_version}.$archive_format" \
base_url="http://www.ijg.org/files/${package_name}.${package_version}.$archive_format"

if file_is_missing /usr/local/bin/libtool && command_exists glibtool ; then
link $(which glibtool) to /usr/local/bin/libtool
fi

if os_is_darwin ; then
export MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | awk -F'.' '{print $1"."$2}')
fi

configure_flags=( --enable-shared )

2 changes: 2 additions & 0 deletions jpeg/modules/shell/modules
@@ -0,0 +1,2 @@
ext/defaults
ext/package
Empty file added openssl/CHANGELOG.md
Empty file.
2 changes: 2 additions & 0 deletions openssl/README.md
@@ -0,0 +1,2 @@
# Extension Template

Empty file added openssl/TODO.md
Empty file.
1 change: 1 addition & 0 deletions openssl/VERSION
@@ -0,0 +1 @@
0.0.1
9 changes: 9 additions & 0 deletions openssl/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

3 changes: 3 additions & 0 deletions openssl/config/defaults
@@ -0,0 +1,3 @@
version=1.0.0d
base_url=http://www.openssl.org/source
md5_url=http://www.openssl.org/source
Empty file added openssl/config/md5
Empty file.
11 changes: 11 additions & 0 deletions openssl/modules/shell/dsl
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

openssl_configure()
{
if (( ${static_flag:-0} == 1 ))
then
./config --prefix="${install_path}" zlib > configure.log 2>&1
else
./config --prefix="${install_path}" zlib shared > configure.log 2>&1
fi
}
4 changes: 4 additions & 0 deletions openssl/modules/shell/initialize
@@ -0,0 +1,4 @@
#!/usr/bin/env bash

make_command="make ${make_flags[@]:-"-j$(os_cpu_count)"} || true"

1 change: 1 addition & 0 deletions openssl/modules/shell/modules
@@ -0,0 +1 @@
ext/package
Empty file added pcre/CHANGELOG.md
Empty file.
9 changes: 9 additions & 0 deletions pcre/README.md
@@ -0,0 +1,9 @@
This is the package for [PCRE](http://pcre.org/). Since this is a library, there isn't too much you can do to it that's exciting:

This will install PCRE on your system:

# bdsm pcre package install

This will remove it:

# bdsm pcre package uninstall
Empty file added pcre/TODO.md
Empty file.
1 change: 1 addition & 0 deletions pcre/VERSION
@@ -0,0 +1 @@
0.0.1

0 comments on commit dbc14a5

Please sign in to comment.