Skip to content

Commit

Permalink
Prepare release and bump version numbers to 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
moteus committed Jan 13, 2015
1 parent c339902 commit 37169e5
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist.info
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "pdh"
version = "0.1.1"
version = "0.1.2"

desc = "Lua binding to Microsoft Performance Data Helper (PDH) library"
author = "Alexey Melnichuk"
Expand Down
41 changes: 41 additions & 0 deletions rockspec/pdh-0.1.2-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
package = "pdh"
version = "0.1.2-1"

source = {
url = "https://github.com/moteus/lua-pdh/archive/v0.1.2.zip",
dir = "lua-pdh-0.1.2",
}

description = {
summary = "Lua binding to Microsoft Performance Data Helper (PDH) library",
homepage = "https://github.com/moteus/lua-pdh",
license = "MIT/X11",
maintainer = "Alexey Melnichuk",
}

supported_platforms = {
"windows"
}

dependencies = {
"lua >= 5.1, < 5.4",
}

-- WINXP SP2
local WINVER = "0x0502"

build = {
type = "builtin",
copy_directories = {"examples"},
modules = {
[ "pdh.core" ] = {
sources = {
'src/l52util.c', 'src/lpdh.c',
};
libraries = {'pdh', 'psapi', 'advapi32'};
defines = {"WINVER=" .. WINVER, "_WIN32_WINNT=" .. WINVER}
};
[ "pdh" ] = "lua/pdh.lua";
[ "pdh.psapi" ] = "lua/pdh/psapi.lua";
}
}

0 comments on commit 37169e5

Please sign in to comment.