浏览代码

Add data for Debian packaging

Alois Mahdal 9 年前
父节点
当前提交
d6466f7b11

+ 3
- 0
mkit.ini 查看文件

@@ -70,3 +70,6 @@
70 70
 
71 71
 [rpmstuff]
72 72
     spec_skel                   = packaging/satcmd.spec
73
+
74
+[debstuff]
75
+    debian_skel                 = packaging/debian

+ 5
- 0
packaging/debian/changelog 查看文件

@@ -0,0 +1,5 @@
1
+satcmd (__MKIT_PROJ_VERSION__-1) UNRELEASED; urgency=medium
2
+
3
+  * Initial release. (Closes: #XXXXXX)
4
+
5
+ -- Alois Mahdal <netvor@vornet.cz>  Sat, 27 Feb 2016 01:38:03 +0100

+ 1
- 0
packaging/debian/compat 查看文件

@@ -0,0 +1 @@
1
+9

+ 19
- 0
packaging/debian/control 查看文件

@@ -0,0 +1,19 @@
1
+Source: satcmd
2
+Maintainer: Alois Mahdal <netvor@vornet.cz>
3
+Section: misc
4
+Priority: extra
5
+Standards-Version: 3.9.2
6
+Build-Depends: debhelper (>= 9)
7
+
8
+Package: satcmd
9
+Architecture: all
10
+Depends: bash, shellfu-bash, shellfu-bash-core, shellfu-bash-extras
11
+Description: __MKIT_PROJ_TAGLINE__
12
+ saturnin is Shellfu library that helps you easily build toolkit from
13
+ various scripts that you may have lying around.  Instead of having a
14
+ herd of untamed undocumented and hard-to-share scripts, with help of
15
+ saturnin you can easily create and package a meta-command with a set
16
+ of discoverable and maintainable sub-commands.
17
+ .
18
+ This package contains a demo meta-command built with saturnin; you can
19
+ also re-use the source as template for your new toolkit.

+ 1
- 0
packaging/debian/copyright 查看文件

@@ -0,0 +1 @@
1
+

+ 13
- 0
packaging/debian/rules 查看文件

@@ -0,0 +1,13 @@
1
+#!/usr/bin/make -f
2
+
3
+%:
4
+
5
+	dh $@
6
+
7
+override_dh_auto_install:
8
+
9
+	make install DESTDIR=debian/tmp
10
+
11
+override_dh_usrlocal:
12
+
13
+	@true

+ 7
- 0
packaging/debian/satcmd.install 查看文件

@@ -0,0 +1,7 @@
1
+/etc/bash_completion.d/satcmd.bash
2
+/usr/local/bin/satcmd
3
+/usr/local/libexec/satcmd/satcmd-dump
4
+/usr/local/libexec/satcmd/satcmd-echo
5
+/usr/local/share/doc/satcmd/README.md
6
+/usr/local/share/satcmd/ini.d/main/echo.ini
7
+/usr/local/share/satcmd/shellfu/saturnin.sh

+ 1
- 0
packaging/debian/source/format 查看文件

@@ -0,0 +1 @@
1
+3.0 (quilt)