mirror of
https://github.com/love2d/love.git
synced 2026-08-19 12:14:20 +02:00
Make configure output some files in the debian folder as well, substituting the (optional) suffix where needed, also add pkg-config dependency
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
|
||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- --with-lua=luajit
|
||||
|
||||
override_dh_link:
|
||||
dh_link -plove@LOVE_SUFFIX@-dev usr/lib/$(DEB_HOST_MULTIARCH)/liblove@LOVE_SUFFIX@.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/liblove@LOVE_SUFFIX@.so
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=love@LOVE_SUFFIX@-dbg
|
||||
|
||||
%:
|
||||
dh $@ --parallel
|
||||
Reference in New Issue
Block a user