Moved Debian packaging
This commit is contained in:
parent
cbb4a0c2b1
commit
f0e591d595
11
Makefile
11
Makefile
|
@ -243,15 +243,4 @@ $(eval $(call make-uninstall-doc-rule,$(sec))))
|
|||
.PHONY: all-doc mostlyclean-doc mclean-doc clean-doc re-doc
|
||||
.PHONY: install-doc uninstall-doc
|
||||
.PHONY: $(foreach s,$(MAN_SECTIONS),install-doc-$(s) uninstall-doc-$(s))
|
||||
#******************************************************************************#
|
||||
# Packaging #
|
||||
#******************************************************************************#
|
||||
# Package for debian.
|
||||
deb:
|
||||
debuild --no-tgz-check -us -uc
|
||||
# Clean packaging
|
||||
clean-deb:
|
||||
debuild clean
|
||||
|
||||
.PHONY: deb clean-deb
|
||||
# End of file.
|
||||
|
|
12
README.md
12
README.md
|
@ -28,18 +28,8 @@ I took these as a reference because these are the ones I work with.
|
|||
| -------------------------------------------------- | -------- |
|
||||
| [zlib](http://zlib.net/) | >= 1.2.8 |
|
||||
|
||||
### Debian Packaging dependencies
|
||||
| Name | Version |
|
||||
| ----------------------------------------------------------- | -------- |
|
||||
| [debhelper](http://joeyh.name/code/debhelper/) | >= 9.0 |
|
||||
| [devscripts](https://packages.debian.org/stable/devscripts) | >= 2.15 |
|
||||
|
||||
## Building
|
||||
To package for Debian, use the `deb` target. You shouldn't configure before
|
||||
running this target, `debian/rules` will make it for you. Packages and
|
||||
associated file are created in the parent directory.
|
||||
|
||||
If you ought to make it yourself, just `./configure` then `make`.
|
||||
Just `./configure` then `make`.
|
||||
To install, use `make install`.
|
||||
|
||||
If you're using a custom target, by default, the prefix will be
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
/libp7
|
||||
/libp7-dev
|
||||
/libp7-doc
|
||||
/tmp
|
||||
/files
|
||||
/libp7.debhelper.log
|
||||
/libp7.postinst.debhelper
|
||||
/libp7.postrm.debhelper
|
||||
/libp7.substvars
|
||||
/libp7-dev.debhelper.log
|
||||
/libp7-dev.substvars
|
||||
/libp7-doc.debhelper.log
|
||||
/libp7-doc.substvars
|
|
@ -1,5 +0,0 @@
|
|||
libg1m (1.0) stable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Thomas Touhey <thomas@touhey.fr> Wed, 04 Jan 2017 18:44:18 +0100
|
|
@ -1 +0,0 @@
|
|||
9
|
|
@ -1,41 +0,0 @@
|
|||
Standards-Version: 3.9.6
|
||||
Source: libg1m
|
||||
Priority: optional
|
||||
Maintainer: Thomas Touhey <thomas@touhey.fr>
|
||||
Section: libs
|
||||
Homepage: https://forge.touhey.fr/casio/lib/libg1m
|
||||
Build-Depends: debhelper (>= 9), make (>= 4.0), gcc (>= 4.9),
|
||||
binutils (>= 2.25), libc6 (>= 2.19), zlib1g-dev (>= 1.0),
|
||||
asciidoc (>= 8.6.9), gzip (>= 1.6)
|
||||
|
||||
Package: libg1m-1.0
|
||||
Section: libs
|
||||
Architecture: linux-any
|
||||
Multi-Arch: same
|
||||
Suggests: mcsfile
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||
zlib1g (>= 1.0)
|
||||
Description: CASIO files parsing library
|
||||
Library for parsing CASIO files with a StandardHeader (usually g[1-3][a-z]).
|
||||
.
|
||||
This package contains the main shared library.
|
||||
|
||||
Package: libg1m-1.0-dev
|
||||
Section: libdevel
|
||||
Architecture: linux-any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libg1m-1.0 (= ${binary:Version})
|
||||
Recommends: libg1m-1.0-doc
|
||||
Description: CASIO files parsing library development files
|
||||
Library for parsing CASIO files with a StandardHeader (usually g[1-3][a-z]).
|
||||
.
|
||||
This package contains C headers for libg1m.
|
||||
|
||||
Package: libg1m-1.0-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: documentation for CASIO files parsing library
|
||||
Library for parsing CASIO files with a StandardHeader (usually g[1-3][a-z]).
|
||||
.
|
||||
This package contains the manpages for libg1m.
|
|
@ -1,20 +0,0 @@
|
|||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: libg1m
|
||||
Upstream-Contact: Thomas Touhey <thomas@touhey.fr>
|
||||
Source: https://forge.touhey.fr/casio/lib/libp7/
|
||||
|
||||
Files: *
|
||||
Copyright: © 2016 Thomas "CakeIsALie5" Touhey <thomas@touhey.fr>
|
||||
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 3 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.
|
||||
.
|
||||
On Debian systems, the complete text of the GPL license can be found
|
||||
in the /usr/share/common-licenses/GPL-2 file.
|
|
@ -1,4 +0,0 @@
|
|||
usr/bin/*
|
||||
usr/lib/**/libg1m.so
|
||||
usr/lib/**/pkgconfig/*.pc
|
||||
usr/include/libg1m-*/**/*
|
|
@ -1 +0,0 @@
|
|||
man/man1/libg1m-config.1
|
|
@ -1 +0,0 @@
|
|||
man/man3/*.3
|
|
@ -1 +0,0 @@
|
|||
usr/lib/**/libg1m.so.*
|
|
@ -1,7 +0,0 @@
|
|||
#!/usr/bin/make -f
|
||||
# uncomment if necessary - read debhelper(7) for more info
|
||||
#DH_VERBOSE = 1
|
||||
|
||||
# main packaging script, based on dh9 syntax
|
||||
%:
|
||||
dh $@
|
Reference in New Issue