Commit b60875fe authored by François Perrad's avatar François Perrad

a rockspec for each variant

parent bb21fa63
......@@ -85,7 +85,8 @@ $(TARBALL): MANIFEST
dist: $(TARBALL)
rockspec: $(TARBALL)
perl -e '$(rockspec_pl)' rockspec.in > rockspec/lua-coatpersistent-$(VERSION)-$(REV).rockspec
perl -e '$(rockspec_pl)' rockspec.luasql.in > rockspec/lua-coatpersistent-luasql-$(VERSION)-$(REV).rockspec
perl -e '$(rockspec_pl)' rockspec.lsqlite3.in > rockspec/lua-coatpersistent-lsqlite3-$(VERSION)-$(REV).rockspec
install-rock: clean dist rockspec
perl -pe 's{http://cloud.github.com/downloads/fperrad/lua-CoatPersistent/}{};' \
......
package = 'lua-CoatPersistent-lsqlite3'
version = '@version@-@rev@'
source = {
url = 'http://sites.google.com/site/fperrad/lua-coatpersistent-@version@.tar.gz',
md5 = '@md5@',
dir = 'lua-CoatPersistent-@version@',
}
description = {
summary = "an ORM for lua-Coat",
detailed = [[
lua-CoatPersistent is an Object-Relational Mapping for lua-Coat.
It is built over the modules LuaSQL and Dado.
It could support all database engine which has a driver in LuaSQL.
]],
homepage = 'http://fperrad.github.com/lua-CoatPersistent',
maintainer = 'Francois Perrad',
license = 'MIT/X11'
}
dependencies = {
'lua >= 5.1',
'lsqlite3 >= 0.7',
'dado >= 1.2.0',
'lua-coat >= 0.9.0',
'lua-testmore >= 0.2.3',
}
build = {
type = 'builtin',
modules = {
['Coat.Persistent'] = 'src.lsqlite3/Coat/Persistent.lua',
},
copy_directories = { 'doc', 'test' },
}
package = 'lua-CoatPersistent'
package = 'lua-CoatPersistent-LuaSQL'
version = '@version@-@rev@'
source = {
url = 'http://sites.google.com/site/fperrad/lua-coatpersistent-@version@.tar.gz',
......@@ -19,7 +19,6 @@ description = {
dependencies = {
'lua >= 5.1',
'luasql-sqlite3 >= 2.2.0',
-- 'lsqlite3 >= 0.7',
'dado >= 1.2.0',
'lua-coat >= 0.9.0',
'lua-testmore >= 0.2.3',
......@@ -28,7 +27,6 @@ build = {
type = 'builtin',
modules = {
['Coat.Persistent'] = 'src/Coat/Persistent.lua',
['Coat.Persistent.lsqlite3'] = 'src.lsqlite3/Coat/Persistent.lua',
},
copy_directories = { 'doc', 'test' },
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment