mirror of https://github.com/nirenjan/libx52.git
Add default debian packaging
This commit adds the default scripts for Debian packaging. This is not yet ready for prime time, therefore, I'm leaving it on its own branch for now. Most likely, I will use this as a template to generate the Debian packages and attach those to the releases. [skip ci]debian-packaging
parent
374fd94fcd
commit
3abba11269
|
@ -0,0 +1,5 @@
|
|||
x52pro-linux (0.2.1-1) unstable; urgency=medium
|
||||
|
||||
* Initial release
|
||||
|
||||
-- Nirenjan Krishnan <nirenjan@gmail.com> Tue, 26 May 2020 17:50:35 -0700
|
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -0,0 +1,20 @@
|
|||
Source: x52pro-linux
|
||||
Priority: optional
|
||||
Maintainer: Nirenjan Krishnan <nirenjan@gmail.com>
|
||||
Build-Depends: debhelper (>= 9), autotools-dev, libusb-1.0-0-dev, python, doxygen, rsync, pkg-config, gettext
|
||||
Standards-Version: 4.4.1
|
||||
Section: libs
|
||||
Homepage: https://github.com/nirenjan/x52pro-linux
|
||||
|
||||
Package: x52pro-linux-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: x52pro-linux1
|
||||
Description: X52/X52Pro interface library: Development libraries and header files
|
||||
|
||||
Package: x52pro-linux1
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: X52/X52Pro interface library: Shared libraries and utilities
|
|
@ -0,0 +1,45 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: x52pro-linux
|
||||
Upstream-Contact: Nirenjan Krishnan <nirenjan@gmail.com>
|
||||
Source: https://github.com/nirenjan/x52pro-linux
|
||||
|
||||
Files: *
|
||||
Copyright: 2012-2020 Nirenjan Krishnan <nirenjan@gmail.com>
|
||||
License: GPL-2
|
||||
X52Pro-Linux is licensed under the terms of the GNU General Public License with
|
||||
the following clarification and special exception.
|
||||
.
|
||||
Linking this module statically or dynamically with other modules is making a
|
||||
combined work based on this module. Thus, the terms and conditions of the GNU
|
||||
General Public License cover the whole combination.
|
||||
.
|
||||
As a special exception, the copyright holders of this module give you
|
||||
permission to link this module with independent modules to produce an
|
||||
executable, regardless of the license terms of these independent modules, and
|
||||
to copy and distribute the resulting executable under terms of your choice,
|
||||
provided that you also meet, for each linked independent module, the terms and
|
||||
conditions of the license of that module. An independent module is a module
|
||||
which is not derived from or based on this module. If you modify this module,
|
||||
you may extend this exception to your version of the module, but you are not
|
||||
obliged to do so. If you do not wish to do so, delete this exception statement
|
||||
from your version.
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2020 Nirenjan Krishnan <nirenjan@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 <https://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".
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
#!/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 $@ --with autoreconf
|
||||
|
||||
|
||||
# dh_make generated override targets
|
||||
# This is example for Cmake (See https://bugs.debian.org/641051 )
|
||||
#override_dh_auto_configure:
|
||||
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
|
||||
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,4 @@
|
|||
usr/include/*
|
||||
usr/lib/*/lib*.so
|
||||
usr/lib/*/lib*.a
|
||||
usr/lib/*/pkgconfig/*
|
|
@ -0,0 +1,4 @@
|
|||
usr/lib/*/lib*.so.*
|
||||
usr/bin/x52cli
|
||||
usr/bin/x52test
|
||||
usr/share/man/man1/x52cli.1
|
Loading…
Reference in New Issue