| Name |
libluajit-5.1-common |
| Description |
OpenResty-maintained branch of LuaJIT (common files) |
| Version |
2.1.0+openresty20250117-2 |
| Package Base |
luajit |
| Homepage |
https://github.com/openresty/luajit2 |
| Maintainers |
['Debian Lua Team <pkg-lua-devel@lists.alioth.debian.org>'] |
| Contributors |
['Mo Zhou <lumin@debian.org>', 'Ondřej Surý <ondrej@debian.org>'] |
| Distro-repo |
https://salsa.debian.org/lua-team/luajit |
| Sources |
['https://sources.debian.org/data/main/l/luajit/2.1.0+openresty20250117-2/debian/watch', 'https://sources.debian.org/src/luajit/2.1.0+openresty20250117-2/debian/patches/0001-consider-Hurd-as-a-POSIX-system.patch', 'https://sources.debian.org/src/luajit/2.1.0+openresty20250117-2/debian/patches/0002-Get-rid-of-LUAJIT_VERSION_SYM-that-changes-ABI-on-ev.patch', 'https://sources.debian.org/src/luajit/2.1.0+openresty20250117-2/debian/patches/0003_support_riscv64.patch', 'https://sources.debian.org/src/luajit/2.1.0+openresty20250117-2/debian/patches/0004_support_loong64.patch', 'https://sources.debian.org/src/luajit/2.1.0+openresty20250117-2/debian/patches/series'] |
| Dependencies |
[] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper-compat'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
4e3434e50f7a5b54454217e18bd7ce0c03296d21bcb4f2e0ad8d44dbcc7b3f4f |
#!/usr/bin/make -f
ABIM:=$(shell grep MAJVER Makefile|cut -d = -f 2|tr -d ' ')
ABIN:=$(shell grep MINVER Makefile|cut -d = -f 2|tr -d ' ')
ABIO:=$(shell grep RELVER Makefile|cut -d = -f 2|tr -d ' ')
ABI=$(ABIM).$(ABIN).$(ABIO)
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
include /usr/share/dpkg/default.mk
%:
dh $@
override_dh_auto_build:
$(MAKE) amalg PREFIX=/usr \
MULTILIB=lib/$(DEB_HOST_MULTIARCH) \
CROSS=$(DEB_HOST_GNU_TYPE)- \
Q= E=@:
override_dh_auto_install:
make install PREFIX=/usr DESTDIR=$(CURDIR)/debian/tmp/ \
MULTILIB=lib/$(DEB_HOST_MULTIARCH) LDCONFIG="/sbin/ldconfig -n"
sed -i 's?^multilib=.*?multilib=lib/$(DEB_HOST_MULTIARCH)?' \
debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/*.pc
# debian doesn't allow multiple luajit versions, just rename the binary to luajit
mv $(CURDIR)/debian/tmp/usr/bin/luajit-* $(CURDIR)/debian/tmp/usr/bin/luajit
execute_after_dh_auto_test:
# fail early on architectures it does not support
./src/luajit -e 'print(true)'