cake
/
libg1m
Archived
1
0
Fork 0

Moved Debian packaging

This commit is contained in:
Thomas Touhey 2017-01-05 01:21:13 +01:00
parent cbb4a0c2b1
commit f0e591d595
12 changed files with 1 additions and 116 deletions

View File

@ -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.

View File

@ -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

13
debian/.gitignore vendored
View File

@ -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

5
debian/changelog vendored
View File

@ -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
debian/compat vendored
View File

@ -1 +0,0 @@
9

41
debian/control vendored
View File

@ -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.

20
debian/copyright vendored
View File

@ -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.

View File

@ -1,4 +0,0 @@
usr/bin/*
usr/lib/**/libg1m.so
usr/lib/**/pkgconfig/*.pc
usr/include/libg1m-*/**/*

View File

@ -1 +0,0 @@
man/man1/libg1m-config.1

View File

@ -1 +0,0 @@
man/man3/*.3

View File

@ -1 +0,0 @@
usr/lib/**/libg1m.so.*

7
debian/rules vendored
View File

@ -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 $@