1
mirror of https://gitlab.com/jessieh/qrprinter.git synced 2024-12-03 11:01:45 +00:00

Add .rockspec for 1.0-1

This commit is contained in:
Jessie Hildebrandt 2021-10-07 15:59:35 -04:00
parent 9f5d114684
commit 404601fb1e

View File

@ -0,0 +1,36 @@
package = 'qrprinter'
version = '1.0-1'
supported_platforms = {'linux'}
source = {
url = "git+https://gitlab.com/jessieh/qrprinter",
tag = "1.0-1"
}
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",
build_variables = {
-- This suppresses luarocks' CFLAGS warning-- we don't actually use this
CFLAGS = "$(CFLAGS)"
},
install = {
lua = {
["qrprinter"] = "build/qrprinter.lua",
["qrprinter.ffi.qrencode"] = "build/ffi/qrencode.lua"
}
}
}