mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 16:55:46 -04:00
Initial community commit
This commit is contained in:
27
Src/external_dependencies/cpr/package-build/build-package.sh
Normal file
27
Src/external_dependencies/cpr/package-build/build-package.sh
Normal file
@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
SRC_DIR=$1
|
||||
|
||||
LIB='libcpr'
|
||||
|
||||
LIB_DIR="${LIB}_${VERSION}"
|
||||
DEBIAN_DIR="${LIB_DIR}/debian"
|
||||
|
||||
ARCHIVE_NAME="$LIB_DIR.orig.tar.gz"
|
||||
|
||||
echo -e "Preparing tar archive and directory\n"
|
||||
cp -r $SRC_DIR $LIB_DIR
|
||||
|
||||
tar --exclude-vcs -czf $ARCHIVE_NAME $LIB_DIR
|
||||
tar -xzf $ARCHIVE_NAME
|
||||
|
||||
cd $LIB_DIR
|
||||
|
||||
echo -e "\n\nCopying prepared debian files to directory\n"
|
||||
mkdir debian
|
||||
cp -r package-build/debian-libcpr/* debian/
|
||||
sed -i "s/\%VERSION/$VERSION/g" debian/changelog
|
||||
sed -i "s/\%DATE/$(date -R)/g" debian/changelog
|
||||
|
||||
echo -e "\n\nCalling debuild\n"
|
||||
debuild
|
@ -0,0 +1,5 @@
|
||||
libcpr for Debian
|
||||
|
||||
A package of the libcpr library.
|
||||
|
||||
-- Philip Saendig <philip.saendig@gmail.com> Tue, 24 May 2022 10:37:24 +0200
|
@ -0,0 +1,6 @@
|
||||
libcpr (%VERSION-1) UNRELEASED; urgency=low
|
||||
|
||||
[ Philip Saendig ]
|
||||
* First package of libcpr %VERSION for debian.
|
||||
|
||||
-- Philip Saendig <deb@libcpr.org> %DATE
|
@ -0,0 +1,39 @@
|
||||
Source: libcpr
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Philip Saendig <philip.saendig@gmail.com>
|
||||
Build-Depends:
|
||||
debhelper-compat (= 12),
|
||||
cmake,
|
||||
libcurl4-openssl-dev,
|
||||
libssl-dev,
|
||||
Standards-Version: 4.5.0
|
||||
Homepage: https://github.com/libcpr/cpr
|
||||
|
||||
Package: libcpr-dev
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, libcpr1
|
||||
Description: C++ wrapper around the libcurl library - development kit
|
||||
This package contains the header files and development
|
||||
libraries of cpr, Curl for People.
|
||||
.
|
||||
The project is inspried by the Python Request project.
|
||||
Using the more expressive language facilities of C++11,
|
||||
it captures the essence of making network calls into a
|
||||
few concise idioms.
|
||||
|
||||
Package: libcpr1
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Pre-Depends: ${misc:Pre-Depends}
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends},
|
||||
Description: C++ wrapper around the libcurl library - runtime library
|
||||
This package contains the runtime, shared library of cpr,
|
||||
Curl for People.
|
||||
.
|
||||
The project is inspried by the Python Request project.
|
||||
Using the more expressive language facilities of C++11,
|
||||
it captures the essence of making network calls into a
|
||||
few concise idioms.
|
@ -0,0 +1,52 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: libcpr
|
||||
Source: https://github.com/libcpr/cpr
|
||||
|
||||
Files: .clang-format
|
||||
.clang-tidy
|
||||
.github/*
|
||||
CMakeLists.txt
|
||||
CODE_OF_CONDUCT.md
|
||||
CONTRIBUTING.md
|
||||
CppCheckSuppressions.txt
|
||||
README.md
|
||||
cmake/*
|
||||
cpr-config.cmake
|
||||
cpr/*
|
||||
include/*
|
||||
nuget/*
|
||||
package-build/*
|
||||
debian/*
|
||||
Copyright: 2017-2021 Huu Nguyen
|
||||
2022 libcpr and many other contributors
|
||||
License: Expat
|
||||
MIT License
|
||||
.
|
||||
Copyright (c) 2017-2021 Huu Nguyen
|
||||
Copyright (c) 2022 libcpr and many other contributors
|
||||
.
|
||||
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.
|
||||
|
||||
Files: test/*
|
||||
Copyright: 2022 libcpr and many other contributors
|
||||
License: GPL-3
|
||||
On Debian systems, the full text of the GNU General Public
|
||||
License version 3 can be found in the file
|
||||
`/usr/share/common-licenses/GPL-3'.
|
||||
|
@ -0,0 +1,3 @@
|
||||
usr/include
|
||||
usr/lib/*/*.so
|
||||
usr/lib/*/cmake
|
@ -0,0 +1 @@
|
||||
usr/lib/*/*.so.*
|
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/make -f
|
||||
export DH_VERBOSE = 1
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- \
|
||||
-DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)" -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCPR_USE_SYSTEM_CURL=ON -DCURL_ZLIB=OFF -DBUILD_SHARED_LIBS=ON
|
||||
|
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
Reference in New Issue
Block a user