There was a bug in the previous version.  Here is a new rockspec for the
patched version.  

  Thanks.

  -spc

package = "org.conman.iconv"
version = "1.1.1-1"

source =
{
  url = "https://raw.github.com/spc476/lua-conmanorg/iconv-1.1.1/src/iconv.c";
}

description =
{
  homepage = 
"https://github.com/spc476/lua-conmanorg/blob/iconv-1.1.1/src/iconv.c";,
  maintainer = "Sean Conner <s...@conman.org>",
  license    = "LGPL",
  summary    = "Lua wrapper for IConv",
  detailed   = [[
        A Lua module that wraps the iconv library call.  It's simple to use:

        iconv = require "org.conman.iconv"

        trans = iconv.open("iso-8859-1","utf-8") -- from ISO-8869-1 to UTF-8

        x     = This is \255 test" -- in ISO-8869-1

        y     = trans(x)           -- to UTF-8
  ]]
}

dependencies =
{
  "lua ~> 5.1"
}

external_dependencies =
{
  ICONV = { header = "iconv.h" }
}

build =
{
  type = "builtin",
  copy_directories = {},
  modules =
  {
    ['org.conman.iconv'] = "iconv.c"
  },
}
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to