Hi Hisham
Please, upload the attached rockspec. It is for the new version
of lpdf Luiz Henrique had just released.
I'd like to make a question. There is a rockspec (20070717-3)
which should be used to install lpdf for Lua 5.1, although the file I am
sending points to another source file for Lua 5.2. My question is: how
one would know that? Supposing I know that, how would I tell LuaRocks
to install a 5.1-compatible version or a 5.2-compatible version?
In fact, the mentioned rockspec have a bug in its dependencies,
since that source version is not compatible with "lua >= 5.1". It should
be "lua = 5.1" to be fair. I am using "lua = 5.2" for the new version
I am sending you.
Regards,
Tomás
package = "lpdf"
version = "20130627-1"
source = {
url = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/5.2/lpdf.tar.gz",
md5 = "ea3620317d653262d2a43977859b5785",
dir = "pdf",
}
description = {
summary = "A library for generating PDF documents based on PDFlib",
homepage = "http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lpdf",
license = "Public Domain",
}
dependencies = {
"lua = 5.2"
}
external_dependencies = {
PDFLIB = {
header = "pdflib.h"
}
}
build = {
type = "builtin",
modules = {
pdf = {
sources = {"lpdf.c",},
libraries = {"pdf"},
incdirs = {"$(PDFLIB_INCDIR)"},
libdirs = {"$(PDFLIB_LIBDIR)"},
},
},
}
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers