[cod-tools] 15/142: trunk/ Adding settings for the packaging of 'getoptions'.

Andrius Merkys merkys-guest at moszumanska.debian.org
Mon Sep 25 13:44:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

merkys-guest pushed a commit to branch master
in repository cod-tools.

commit 0600c294f7335084101ed5b932d6b2a5fe419906
Author: Andrius Merkys <andrius.merkys at gmail.com>
Date:   Wed Oct 26 09:42:13 2016 +0000

    trunk/
    Adding settings for the packaging of 'getoptions'.
    
    
    git-svn-id: svn+ssh://saulius-grazulis.lt/home/andrius/svn-repositories/cod-deb-packaging/trunk@15 26752c47-bcd6-4c9c-b022-347364b77eb5
---
 getoptions/Makefile             |  1 +
 getoptions/debian/changelog     |  5 +++++
 getoptions/debian/compat        |  1 +
 getoptions/debian/control       | 13 +++++++++++++
 getoptions/debian/copyright     | 40 ++++++++++++++++++++++++++++++++++++++++
 getoptions/debian/rules         | 29 +++++++++++++++++++++++++++++
 getoptions/debian/source/format |  1 +
 getoptions/fetch-source         |  3 +++
 8 files changed, 93 insertions(+)

diff --git a/getoptions/Makefile b/getoptions/Makefile
new file mode 120000
index 0000000..49d1d10
--- /dev/null
+++ b/getoptions/Makefile
@@ -0,0 +1 @@
+../MasterMakefile
\ No newline at end of file
diff --git a/getoptions/debian/changelog b/getoptions/debian/changelog
new file mode 100644
index 0000000..01c5391
--- /dev/null
+++ b/getoptions/debian/changelog
@@ -0,0 +1,5 @@
+getoptions (4754-1) unstable; urgency=low
+
+  * Initial release.
+
+ -- Andrius Merkys <andrius.merkys at gmail.com>  Wed, 26 Oct 2016 00:45:47 +0300
diff --git a/getoptions/debian/compat b/getoptions/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/getoptions/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/getoptions/debian/control b/getoptions/debian/control
new file mode 100644
index 0000000..20aec17
--- /dev/null
+++ b/getoptions/debian/control
@@ -0,0 +1,13 @@
+Source: getoptions
+Priority: extra
+Maintainer: Andrius Merkys <andrius.merkys at gmail.com>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.3
+Section: libs
+
+Package: getoptions
+Section: libdevel
+Architecture: any
+Depends: ${misc:Depends}
+Description: Command line argument processing library for C
+ <insert long description, indented with spaces>
diff --git a/getoptions/debian/copyright b/getoptions/debian/copyright
new file mode 100644
index 0000000..97852a2
--- /dev/null
+++ b/getoptions/debian/copyright
@@ -0,0 +1,40 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: getoptions
+Source: <svn://www.crystallography.net/cod-tools/trunk/src/externals/getoptions>
+
+Files: *
+Copyright: 2008 Saulius Gražulis <grazulis at ibt.lt>
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Files: debian/*
+Copyright: 2016 Andrius Merkys <andrius.merkys at gmail.com>
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
diff --git a/getoptions/debian/rules b/getoptions/debian/rules
new file mode 100755
index 0000000..cac39c1
--- /dev/null
+++ b/getoptions/debian/rules
@@ -0,0 +1,29 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+build:
+	${MAKE}
+
+clean:
+	${MAKE} distclean
+
+override_dh_auto_install:
+	${MAKE} install PREFIX=debian/cexceptions/usr
+
+install: build
+	mkdir -p ${PREFIX}/include ${PREFIX}/lib
+	install *.h ${PREFIX}/include
+	install lib/libcexceptions.a lib/libcexceptions.so.0.01 ${PREFIX}/lib
+	ln -fs libcexceptions.so.0.01 ${PREFIX}/lib
+	ln -fs libcexceptions.so.0 ${PREFIX}/lib
diff --git a/getoptions/debian/source/format b/getoptions/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/getoptions/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/getoptions/fetch-source b/getoptions/fetch-source
new file mode 100755
index 0000000..6112b32
--- /dev/null
+++ b/getoptions/fetch-source
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+svn export -r4754 svn://www.crystallography.net/cod-tools/trunk/src/externals/getoptions source

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cod-tools.git



More information about the debian-science-commits mailing list