-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
43 additions
and
0 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
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,35 @@ | ||
local package_name = "uuid" | ||
local package_version = "0.3" | ||
local rockspec_revision = "1" | ||
local github_account_name = "Tieske" | ||
local github_repo_name = package_name | ||
|
||
|
||
package = package_name | ||
version = package_version.."-"..rockspec_revision | ||
source = { | ||
url = "git://github.com/"..github_account_name.."/"..github_repo_name..".git", | ||
branch = (package_version == "dev") and "master" or nil, | ||
tag = (package_version ~= "dev") and package_version or nil, | ||
} | ||
|
||
description = { | ||
summary = "Generates uuids in pure Lua", | ||
detailed = [[ | ||
Generates uuids in pure Lua, but requires a | ||
good random seed or a unique string. Please check the documentation. | ||
]], | ||
license = "Apache 2.0", | ||
homepage = "https://github.com/"..github_account_name.."/"..github_repo_name, | ||
} | ||
|
||
dependencies = { | ||
"lua >= 5.1", | ||
} | ||
|
||
build = { | ||
type = "builtin", | ||
modules = { | ||
["uuid"] = "src/uuid.lua", | ||
}, | ||
} |