[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (2c712d276851d9ac8fc699abe0037a0309fe0f72)

Vlad Glagolev scm at sourcemage.org
Sat Aug 23 13:43:47 EDT 2008


GIT changes to master grimoire by Vlad Glagolev <stealth at sourcemage.org>:

 ChangeLog                    |    4 ++++
 lua-forge/luapgsql/BUILD     |    1 +
 lua-forge/luapgsql/DEPENDS   |    2 ++
 lua-forge/luapgsql/DETAILS   |   16 ++++++++++++++++
 lua-forge/luapgsql/HISTORY   |    2 ++
 lua-forge/luapgsql/INSTALL   |    7 +++++++
 lua-forge/luapgsql/PRE_BUILD |    4 ++++
 7 files changed, 36 insertions(+)

New commits:
commit 2c712d276851d9ac8fc699abe0037a0309fe0f72
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    luapgsql: new spell, lightweight binding of libpq client library for PostgreSQL

diff --git a/ChangeLog b/ChangeLog
index 8f97027..9773876 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-08-23 Vlad Glagolev <stealth at sourcemage.org>
+	* lua-forge/luapgsql: new spell, lightweight binding of libpq client library
+	  for PostgreSQL
+
 2008-08-22 Julien "_kaze_" ROZO <julien at rozo.org>
 	* kde4-look/plasmoid-weather: new spell, a plasmoid to display weather
 
diff --git a/lua-forge/luapgsql/BUILD b/lua-forge/luapgsql/BUILD
new file mode 100755
index 0000000..8f58e6d
--- /dev/null
+++ b/lua-forge/luapgsql/BUILD
@@ -0,0 +1 @@
+make
diff --git a/lua-forge/luapgsql/DEPENDS b/lua-forge/luapgsql/DEPENDS
new file mode 100755
index 0000000..cec5fec
--- /dev/null
+++ b/lua-forge/luapgsql/DEPENDS
@@ -0,0 +1,2 @@
+depends lua &&
+depends postgresql
diff --git a/lua-forge/luapgsql/DETAILS b/lua-forge/luapgsql/DETAILS
new file mode 100755
index 0000000..4c0a76e
--- /dev/null
+++ b/lua-forge/luapgsql/DETAILS
@@ -0,0 +1,16 @@
+           SPELL=luapgsql
+         VERSION=20080401
+          SOURCE=$SPELL.$VERSION.tar.gz
+   SOURCE_URL[0]=http://luaforge.net/frs/download.php/3280/$SOURCE
+     SOURCE_HASH=sha512:29302acf593ffb9d9a625593e09274c5b388866b845caeeee5e5ad6fd5e30db927b351ed91dd9556860c097cb0b01436a951be9e8fd1aec93e85f21ea0d33117
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL"
+        WEB_SITE=http://luapgsql.luaforge.net/
+      LICENSE[0]=BSD
+         ENTERED=20080823
+           SHORT="lightweight binding of libpq client library for PostgreSQL"
+cat << EOF
+Lua-PgSQL is a purpose built Lua module designed for the fast and efficient
+manipulation of a PostgreSQL database using the official libpq client
+libraries.  As this is a lightweight binding, some of this documentation is
+sourced directly from the PostgreSQL manual.
+EOF
diff --git a/lua-forge/luapgsql/HISTORY b/lua-forge/luapgsql/HISTORY
new file mode 100644
index 0000000..46e67a5
--- /dev/null
+++ b/lua-forge/luapgsql/HISTORY
@@ -0,0 +1,2 @@
+2008-08-23 Vlad Glagolev <stealth at sourcemage.org>
+	* BUILD, DEPENDS, DETAILS, INSTALL, PRE_BUILD: spell created
diff --git a/lua-forge/luapgsql/INSTALL b/lua-forge/luapgsql/INSTALL
new file mode 100755
index 0000000..e774afa
--- /dev/null
+++ b/lua-forge/luapgsql/INSTALL
@@ -0,0 +1,7 @@
+local LUA=$(installed_version lua) &&
+
+install -vm 755 *.so "$INSTALL_ROOT/usr/lib/lua/${LUA%.?}" &&
+
+# installing manuals
+install -vm 755 -d "$INSTALL_ROOT/usr/share/doc/luapgsql" &&
+install -vm 644 manual.* "$INSTALL_ROOT/usr/share/doc/luapgsql"
diff --git a/lua-forge/luapgsql/PRE_BUILD b/lua-forge/luapgsql/PRE_BUILD
new file mode 100755
index 0000000..95bf8f6
--- /dev/null
+++ b/lua-forge/luapgsql/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+sed -i "s:/local::g;s:/lua51::g" Makefile



More information about the SM-Commit mailing list