summaryrefslogtreecommitdiff
path: root/dosbox-x/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'dosbox-x/debian/rules')
-rwxr-xr-xdosbox-x/debian/rules24
1 files changed, 24 insertions, 0 deletions
diff --git a/dosbox-x/debian/rules b/dosbox-x/debian/rules
new file mode 100755
index 0000000..cf6e067
--- /dev/null
+++ b/dosbox-x/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+# You must remove unused comment lines for the released package.
+#export DH_VERBOSE = 1
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export JAVA_HOME=/usr/lib/jvm/default-java
+export CLASSPATH=/usr/share/java/csv.jar:/usr/share/java/debug-disable.jar:/usr/share/java/itext.jar
+
+%:
+ dh $@ --with javahelper,autoreconf
+
+override_dh_autoreconf:
+ dh_autoreconf -- ./autogen.sh
+
+override_dh_auto_configure:
+ #./configure --enable-core-inline --enable-debug=heavy --enable-sdl2
+ dh_auto_configure -- \
+ --enable-core-inline \
+ --enable-debug=heavy \
+ --enable-sdl2
+
+#override_dh_install:
+# dh_install --list-missing -X.la -X.pyc -X.pyo
bgstack15