mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
44 lines
1.2 KiB
Lua
44 lines
1.2 KiB
Lua
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?
|
|
}
|
|
}
|