FEATURE add building package
diff --git a/packages/debian.rules.in b/packages/debian.rules.in
new file mode 100644
index 0000000..95ce0d1
--- /dev/null
+++ b/packages/debian.rules.in
@@ -0,0 +1,16 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+%:
+ dh $@
+
+override_dh_strip:
+ dh_strip --dbg-package=@PACKAGE_NAME@-dbg
+
+override_dh_auto_configure:
+ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -D CMAKE_BUILD_TYPE:String="@BUILD_TYPE@" .
+
+override_dh_auto_test:
+ ctest --output-on-failure