-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates the dev rockspec to pin to a tag, such that new rockspecs generated from it will not point to `master` but to the version tag.
- Loading branch information
Showing
3 changed files
with
90 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Changelog | ||
|
||
### 7.1.0 released 30-Oct-2023 | ||
|
||
* fix: rockspecs for MacOS | ||
|
||
* feat: `iconv.new` now returns a second value in case of errors | ||
|
||
--- | ||
|
||
### 7.0.0 released 17-Oct-2023 | ||
|
||
* First release from its new Lunar Modules home |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
local package_name = "lua-iconv" | ||
local package_version = "7.1.0" | ||
local rockspec_revision = "1" | ||
local github_account_name = "lunarmodules" | ||
local github_repo_name = package_name | ||
|
||
package = package_name | ||
version = package_version.."-"..rockspec_revision | ||
|
||
source = { | ||
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git", | ||
branch = (package_version == "dev") and "master" or nil, | ||
tag = (package_version ~= "dev") and ("v" .. package_version) or nil, | ||
} | ||
|
||
description = { | ||
summary = "Lua binding to the iconv", | ||
detailed = [[ | ||
Lua binding to the POSIX 'iconv' library, which converts a sequence of | ||
characters from one codeset into a sequence of corresponding characters | ||
in another codeset. | ||
]], | ||
license = "MIT/X11", | ||
homepage = "https://github.com/"..github_account_name.."/"..github_repo_name, | ||
} | ||
|
||
dependencies = { | ||
"lua >= 5.1", | ||
} | ||
|
||
external_dependencies = { | ||
ICONV = { | ||
header = "iconv.h" | ||
} | ||
} | ||
|
||
build = { | ||
type = "builtin", | ||
modules = { | ||
iconv = { | ||
sources = {"luaiconv.c"}, | ||
incdirs = {"$(ICONV_INCDIR)"}, | ||
libdirs = {"$(ICONV_LIBDIR)"} | ||
} | ||
}, | ||
platforms = { | ||
cygwin = { | ||
modules = { | ||
iconv = { | ||
libraries = {"iconv"} | ||
} | ||
} | ||
}, | ||
macosx = { | ||
modules = { | ||
iconv = { | ||
libraries = {"iconv"} | ||
} | ||
} | ||
}, | ||
} | ||
} |