2021-10-07 05:55:46 +00:00
|
|
|
package = 'qrprinter'
|
|
|
|
version = '1.0-0'
|
|
|
|
supported_platforms = {'linux'}
|
|
|
|
source = {
|
2021-10-07 07:05:16 +00:00
|
|
|
url = "git+https://gitlab.com/jessieh/qrprinter",
|
2021-10-07 05:55:46 +00:00
|
|
|
tag = "1.0-0"
|
|
|
|
}
|
|
|
|
description = {
|
|
|
|
summary = "Encode and print strings as QR codes.",
|
|
|
|
detailed = "qrprinter wraps the libqrencode C library to provide an easy way of encoding and printing strings as QR codes from Lua.",
|
|
|
|
homepage = "https://gitlab.com/jessieh/qrprinter",
|
|
|
|
maintainer = "Jessie Hildebrandt <jessieh@jessieh.net>",
|
|
|
|
license = "GPLv3"
|
|
|
|
}
|
|
|
|
dependencies = {
|
|
|
|
"lua >= 5.1",
|
|
|
|
}
|
|
|
|
external_dependencies = {
|
|
|
|
LIBQRENCODE = {
|
|
|
|
header = "qrencode.h"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
build = {
|
|
|
|
type = "make",
|
|
|
|
makefile = "Makefile",
|
|
|
|
install = {
|
|
|
|
lua = {
|
|
|
|
["qrprinter"] = "build/qrprinter.lua",
|
|
|
|
["qrprinter.ffi.qrencode"] = "build/ffi/qrencode.lua"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|