Commit 4f130c64 authored by Andreas Tille's avatar Andreas Tille
Browse files

Initial packaging

parent 2ee1596d
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -11,14 +11,22 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)

option(thread_pool_build_tests "Build thread_pool unit tests" OFF)

add_library(thread_pool STATIC
add_library(thread_pool SHARED
    src/thread_pool.cpp)

add_library(thread_pool_static STATIC
    src/thread_pool.cpp)

target_include_directories(thread_pool PUBLIC
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
    $<INSTALL_INTERFACE:include>)

target_include_directories(thread_pool_static PUBLIC
    $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
    $<INSTALL_INTERFACE:include>)

install(TARGETS thread_pool DESTINATION lib)
install(TARGETS thread_pool_static DESTINATION lib)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/thread_pool DESTINATION include)

if (thread_pool_build_tests)

debian/changelog

0 → 100644
+5 −0
Original line number Diff line number Diff line
libthread-pool (1.0.0-1) UNRELEASED; urgency=medium

  * Initial release (Closes: #???)

 -- Andreas Tille <tille@debian.org>  Sat, 09 Jun 2018 23:05:58 +0200

debian/compat

0 → 100644
+1 −0
Original line number Diff line number Diff line
11

debian/control

0 → 100644
+44 −0
Original line number Diff line number Diff line
Source: libthread-pool
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Uploaders: Andreas Tille <tille@debian.org>
Section: science
Priority: optional
Build-Depends: debhelper (>= 11~),
               cmake,
               d-shlibs,
               rename,
               libgtest-dev
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/med-team/libthread-pool
Vcs-Git: https://salsa.debian.org/med-team/libthread-pool.git
Homepage: https://github.com/rvaser/libthread-pool

Package: liblibthread-pool1
Architecture: any
Section: libs
Depends: ${shlibs:Depends},
         ${misc:Depends}
Description: C++ thread pool library
 A thread pool is a software design pattern for achieving concurrency of
 execution in a computer program. Often also called a replicated workers
 or worker-crew model,[1] a thread pool maintains multiple threads
 waiting for tasks to be allocated for concurrent execution by the
 supervising program.
 .
 This package contains a shared library with a thread pool
 implementation.

Package: liblibthread-pool-dev
Architecture: any
Section: libdevel
Depends: ${shlibs:Depends},
         ${misc:Depends},
         liblibthread-pool1.1.3 (= ${binary:Version})
Description: C++ thread pool library (devel)
 A thread pool is a software design pattern for achieving concurrency of
 execution in a computer program. Often also called a replicated workers
 or worker-crew model,[1] a thread pool maintains multiple threads
 waiting for tasks to be allocated for concurrent execution by the
 supervising program.
 .
 This package contains the static library and the header files.

debian/copyright

0 → 100644
+31 −0
Original line number Diff line number Diff line
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: thread_pool
Upstream-Contact: 
Source: https://github.com/rvaser/thread_pool/releases

Files: *
Copyright: 2017-2018 Robert Vaser
License: MIT

Files: debian/*
Copyright: 2018 Andreas Tille <tille@debian.org>
License: MIT

License: MIT
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.
Loading