-
Notifications
You must be signed in to change notification settings - Fork 33
/
luagd-2.0.33r3-1.rockspec
43 lines (38 loc) · 1.22 KB
/
luagd-2.0.33r3-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package = "LuaGD"
version = "2.0.33r3-1"
source = {
url = "https://github.com/ittner/lua-gd/archive/lua-gd-2.0.33r3.tar.gz",
}
description = {
summary = "Lua binding to LibGD",
detailed = [[
Lua-GD is a set of Lua bindings to the Thomas Boutell's gd library that
allows your code to quickly draw complete images with lines, polygons, arcs,
text, multiple colors, cut and paste from other images, flood fills, read in
or write out images in the PNG, JPEG or GIF format. It is not a kitchen-sink
graphics package, but it does include most frequently requested features,
including both truecolor and palette images, resampling (smooth resizing of
truecolor images) and so forth. It is particularly useful in Web applications.
]],
homepage = "http://ittner.github.io/lua-gd/",
license = "MIT/X11",
maintainer = "Alexandre Erwin Ittner"
}
dependencies = {
"lua >= 5.1"
}
external_dependencies = {
GD = { header = "gd.h" }
}
build = {
type = "make",
platforms = {
unix = {
build_pass = true,
install_pass = false,
install = { lib = { "gd.so" } },
copy_directories = { "doc", "demos" }
}
-- Some way to detect GD features on Windows?
}
}