[DIST] Support debian/ubuntu build
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 30 Oct 2018 08:24:30 +0000 (17:24 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 30 Oct 2018 09:54:45 +0000 (18:54 +0900)
Added debian/* files.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/ssat.install [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..b2ca601
--- /dev/null
@@ -0,0 +1,5 @@
+ssat (1.0.0) stable; urgency=medium
+
+  * Initial debian dist files added
+
+ -- MyungJoo Ham <myungjoo.ham@samsung.com>  Tue, 30 Oct 2018 17:10:00 +0900
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..ed33462
--- /dev/null
@@ -0,0 +1,13 @@
+Source: ssat
+Section: devel
+Priority: optional
+Maintainer: MyungJoo Ham <myungjoo.ham@samsung.com>
+Build-Depends: bash, debhelper (>=9)
+Standards-Version: 3.9.6
+Homepage: https://github.com/myungjoo/SSAT/
+
+Package: ssat
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Shell Script Automated Tester
+ This tests test scripts names "runTest.sh" with the given APIs in ssat-api.sh.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..c95815a
--- /dev/null
@@ -0,0 +1,2 @@
+Files: *
+License: Apache-2.0
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..1f6f2dd
--- /dev/null
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+%:
+       dh $@
+
+override_dh_auto_install:
+       ln -s ssat.sh ssat
diff --git a/debian/ssat.install b/debian/ssat.install
new file mode 100644 (file)
index 0000000..fbe115c
--- /dev/null
@@ -0,0 +1,3 @@
+ssat.sh usr/bin
+ssat-api.sh usr/bin
+ssat usr/bin