Skip to content

Commit 6460bd6

Browse files
Add debian packaging
1 parent 638eae4 commit 6460bd6

File tree

6 files changed

+76
-0
lines changed

6 files changed

+76
-0
lines changed

debian/changelog

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
libpgm-args-dev (0.2) unstable; urgency=medium
2+
3+
* README.md: update
4+
* README.md: add usage examples
5+
* arg: add bool conversion operator
6+
* Move access functions into arg
7+
* arg: privatize member variables
8+
* args: cosmetics
9+
* args: remove empty lines
10+
* Add LICENSE.md and initial bits for README.md
11+
* args: refactor
12+
* args: operator<< -> add
13+
* args: formatting
14+
* args: add usage() function
15+
* argument_exception: accept two parameters
16+
* args: implement parse, refactor
17+
* Simplify and refactor
18+
* args: add value accessors
19+
* Reduce code
20+
* arg: tweak
21+
* args: move find_option and find_param
22+
* Add string alias
23+
* arg: add value functions
24+
* args: fix duplicate option check
25+
* invalid_definition: tweak message
26+
* Add bits for args
27+
* arg: publicize several properties
28+
* arg: poly -> multiple
29+
* param + option -> arg
30+
* Misc fixes, add exceptions
31+
* Add initial bits for option and param
32+
33+
-- Dimitry Ishenko <dimitry.ishenko@gmail.com> Wed, 28 Sep 2022 15:51:10 -0400

debian/control

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Source: libpgm-args-dev
2+
Section: libdevel
3+
Priority: optional
4+
Maintainer: Dimitry Ishenko <dimitry.ishenko@gmail.com>
5+
Build-Depends: debhelper-compat (= 13)
6+
Standards-Version: 4.6.0
7+
Homepage: https://github.com/dimitry-ishenko-cpp/pgm-args
8+
Vcs-Browser: https://github.com/dimitry-ishenko-cpp/pgm-args
9+
Vcs-Git: https://github.com/dimitry-ishenko-cpp/pgm-args.git
10+
Rules-Requires-Root: no
11+
12+
Package: libpgm-args-dev
13+
Architecture: all
14+
Depends: ${misc:Depends}
15+
Description: pgm::args – Define & Process Program Arguments in C++
16+
This simple header-only library allows you to easily define, parse and examine
17+
program options and positional parameters in a C++ program.

debian/copyright

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: pgm-args
3+
Upstream-Contact: Dimitry Ishenko <dimitry.ishenko@gmail.com>
4+
Source: https://github.com/dimitry-ishenko-cpp/pgm-args
5+
6+
Files: *
7+
Copyright: 2018-2022 Dimitry Ishenko <dimitry.ishenko@gmail.com>
8+
License: GPL-3.0+
9+
10+
Files: debian/*
11+
Copyright: 2022 Dimitry Ishenko <dimitry.ishenko@gmail.com>
12+
License: GPL-3.0+

debian/libpgm-args-dev.docs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
example/*
2+
LICENSE.md
3+
README.md

debian/rules

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/usr/bin/make -f
2+
3+
export DH_VERBOSE = 1
4+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
5+
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
6+
export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic
7+
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
8+
9+
%:
10+
dh $@

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)

0 commit comments

Comments
 (0)