Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sm/sm-libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed May 10, 2012
2 parents 5833316 + f0b6e62 commit 6b684c9
Show file tree
Hide file tree
Showing 25 changed files with 63 additions and 4 deletions.
1 change: 1 addition & 0 deletions libyaml/config/defaults
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
version=0.1.4
base_url=http://pyyaml.org/download/libyaml
configure_flag_static=--disable-shared
6 changes: 6 additions & 0 deletions libyaml/shell/functions
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ libyaml_prefetch()
file "yaml-${package_version}.${archive_format}" \
dir "yaml-${package_version}"
}

libyaml_preconfigure()
{
os is darwin || autoreconf -is --force > autoreconf.log 2>&1 ||
__sm.package.error "Autoreconf of ${package_name} ${package_version} failed! " "$PWD/autoreconf.log"
}
1 change: 1 addition & 0 deletions libyaml/shell/includes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
api/package
api/os
Empty file added onig/CHANGELOG.md
Empty file.
2 changes: 2 additions & 0 deletions onig/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Extension Template

Empty file added onig/TODO.md
Empty file.
1 change: 1 addition & 0 deletions onig/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.1
9 changes: 9 additions & 0 deletions onig/bin/help
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

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 onig/config/defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
version=5.9.2
archive_format=tar.gz
base_url=http://www.geocities.jp/kosako3/oniguruma/archive/
1 change: 1 addition & 0 deletions onig/map
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions onig/shell/includes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
api/package
1 change: 1 addition & 0 deletions openssl/config/defaults
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ base_url=http://www.openssl.org/source
md5_url=http://www.openssl.org/source
configure_flags=zlib no-asm
make_flags=-j 1
configure_flag_static=no-shared
5 changes: 3 additions & 2 deletions openssl/shell/functions
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
openssl_preconfigure()
{
typeset -gx configure_command

if os is darwin && os arch type is x86_64
then configure_command="./Configure darwin64-x86_64-cc"
else configure_command="./config"
then configure_command="./Configure darwin64-x86_64-cc $LDFLAGS"
else configure_command="./config $LDFLAGS"
fi

if (( ${static_flag:-0} == 0 ))
Expand Down
3 changes: 2 additions & 1 deletion pcre/config/defaults
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
version=8.12
version=8.30
base_url=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre
configure_flags=--enable-utf8 --enable-unicode-properties
configure_flag_static=--disable-shared
5 changes: 5 additions & 0 deletions pcre/shell/functions
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
#!/bin/sh

pcre_preconfigure()
{
aclocal
}
Empty file added slang/CHANGELOG.md
Empty file.
2 changes: 2 additions & 0 deletions slang/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Extension Template

Empty file added slang/TODO.md
Empty file.
1 change: 1 addition & 0 deletions slang/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.0.1
9 changes: 9 additions & 0 deletions slang/bin/help
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

description "${extension} BDSM extension."

action "package install" "Installs ${package_name} ${package_version}."
action "package uninstall" "Installs ${package_name} ${package_version}."

show_help usage

4 changes: 4 additions & 0 deletions slang/config/defaults
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version=2.2.4
base_url=ftp://space.mit.edu/pub/davis/slang/v2.2/
package_dependencies=pcre libpng zlib onig
#configure_flags=--without-onig
1 change: 1 addition & 0 deletions slang/map
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions slang/shell/includes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
api/package
2 changes: 1 addition & 1 deletion zlib/config/defaults
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version=1.2.6
base_url=http://zlib.net
base_url=http://prdownloads.sourceforge.net/libpng
8 changes: 8 additions & 0 deletions zlib/shell/functions
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

zlib_preconfigure()
{
if os is darwin && os arch type is x86_64
then __sm.package.configure.flags --64
fi
}

0 comments on commit 6b684c9

Please sign in to comment.