Initial package commit

This commit is contained in:
Chris Josten 2021-03-02 17:29:32 +01:00
parent 7b67bd437e
commit 819cf46233
11 changed files with 130 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
libtinyendian (0.2.0-1) unstable; urgency=medium
* Initial release
-- Chris Josten <chris@netsoj.nl> Tue, 02 Mar 2021 16:24:56 +0000

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
11

32
debian/control vendored Normal file
View file

@ -0,0 +1,32 @@
Source: libtinyendian
Priority: optional
Maintainer: Chris Josten <chris@netsoj.nl>
Build-Depends: debhelper (>= 11),
dh-dlang,
meson
Standards-Version: 4.1.3
Section: libs
Homepage: https://github.com/dlang-community/tinyendian
Vcs-Browser: https://githee.netsoj.nl/debian-packages/libtinyendian
Vcs-Git: https://githee.netsoj.nl/debian-packages/libtinyendian.git
Package: libtinyendian-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: libtinyendian0 (= ${binary:Version}), ${misc:Depends}
Description: Lightweight endianness library for D
TinyEndian is a minimal endianness library for the D programming language.
It has no external dependencies, it only needs a D compiler and Phobos
(standard library). TinyEndian doesn't allocate memory and is fully @nogc
to allow use in high-performance code.
Package: libtinyendian0
Architecture: any
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Lightweight endianness library for D
TinyEndian is a minimal endianness library for the D programming language.
It has no external dependencies, it only needs a D compiler and Phobos
(standard library). TinyEndian doesn't allocate memory and is fully @nogc
to allow use in high-performance code.

57
debian/copyright vendored Normal file
View file

@ -0,0 +1,57 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: TinyEndian
Source: https://github.com/dlang-community/tinyendian
Files: *
Copyright: 2017 dlang-community
License: BSL-1.0
Boost Software License - Version 1.0 - August 17th, 2003
.
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
.
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
Files: debian/*
Copyright: 2021 Chris Josten <chris@netsoj.nl>
License: BSL-1.0
Boost Software License - Version 1.0 - August 17th, 2003
.
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
.
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

2
debian/libtinyendian-dev.dirs vendored Normal file
View file

@ -0,0 +1,2 @@
usr/lib
usr/include

3
debian/libtinyendian-dev.install vendored Normal file
View file

@ -0,0 +1,3 @@
usr/include/*
usr/lib/*/lib*.so
usr/lib/*/pkgconfig/*

2
debian/libtinyendian-docs.docs vendored Normal file
View file

@ -0,0 +1,2 @@
README.source
README.Debian

1
debian/libtinyendian0.dirs vendored Normal file
View file

@ -0,0 +1 @@
usr/lib

1
debian/libtinyendian0.install vendored Normal file
View file

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

25
debian/rules vendored Executable file
View file

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

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)