summaryrefslogtreecommitdiffhomepage
path: root/groups.d/221.native_packages_dev.d/lua.package
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
commitb2c1ea9526151c4fed9dca8348019d718f489e76 (patch)
tree4d7e65a3553f0c3c4eabec884075a36eb5e56c2b /groups.d/221.native_packages_dev.d/lua.package
parent4e929dbbad9c3b8d2d88f7a44916f14758d39ee5 (diff)
downloadmidipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.bz2
midipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.xz
Implements single package files.
Diffstat (limited to 'groups.d/221.native_packages_dev.d/lua.package')
-rw-r--r--groups.d/221.native_packages_dev.d/lua.package16
1 files changed, 16 insertions, 0 deletions
diff --git a/groups.d/221.native_packages_dev.d/lua.package b/groups.d/221.native_packages_dev.d/lua.package
new file mode 100644
index 00000000..3b14fb32
--- /dev/null
+++ b/groups.d/221.native_packages_dev.d/lua.package
@@ -0,0 +1,16 @@
+: ${PKG_LUA_DEPENDS:="readline"};
+: ${PKG_LUA_SHA256SUM:=164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61};
+: ${PKG_LUA_VERSION:=5.4.4};
+: ${PKG_LUA_URL:=https://www.lua.org/ftp/lua-${PKG_LUA_VERSION}.tar.gz};
+: ${PKG_LUA_CFLAGS_BUILD:="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }--sysroot=${PREFIX_NATIVE}"};
+: ${PKG_LUA_CFLAGS_BUILD_EXTRA:="-DLUA_COMPAT_5_3 -DLUA_USE_LINUX -DLUA_USE_READLINE"};
+: ${PKG_LUA_LDFLAGS_BUILD_EXTRA:="--sysroot=${PREFIX_NATIVE} -lreadline"};
+: ${PKG_LUA_IN_TREE:=1};
+: ${PKG_LUA_INSTALL_FILES_V2:="
+ +%[_files]/lua.pc=lib/pkgconfig/lua.pc
+ m0644=lib/pkgconfig/lua.pc"};
+: ${PKG_LUA_MAKEFLAGS_VERBOSITY:="none"};
+
+ex_pkg_register "lua" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
+
+# vim:filetype=sh textwidth=0