mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: cpp-utilities-5.2.0
This commit is contained in:
parent
72bee6fc83
commit
679d9c04bd
3 changed files with 37 additions and 0 deletions
|
@ -3859,3 +3859,4 @@ libbudgie-plugin.so.0 budgie-desktop-10.5.1_1
|
||||||
libslirp.so.0 libslirp-4.2.0_1
|
libslirp.so.0 libslirp-4.2.0_1
|
||||||
libqpdf.so.28 libqpdf-10.0.0_1
|
libqpdf.so.28 libqpdf-10.0.0_1
|
||||||
libstk-4.6.1.so libstk-4.6.1_1
|
libstk-4.6.1.so libstk-4.6.1_1
|
||||||
|
libc++utilities.so.5 cpp-utilities-5.2.0_1
|
||||||
|
|
1
srcpkgs/cpp-utilities-devel
Symbolic link
1
srcpkgs/cpp-utilities-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cpp-utilities
|
35
srcpkgs/cpp-utilities/template
Normal file
35
srcpkgs/cpp-utilities/template
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# Template file for 'cpp-utilities'
|
||||||
|
pkgname=cpp-utilities
|
||||||
|
version=5.2.0
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
configure_args="-DBUILD_SHARED_LIBS:BOOL=ON"
|
||||||
|
short_desc="C++ library for argument parsing, IO, parsing and more"
|
||||||
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
|
license="GPL-2.0-only"
|
||||||
|
homepage="https://github.com/Martchus/cpp-utilities"
|
||||||
|
distfiles="https://github.com/Martchus/${pkgname}/archive/v${version}.tar.gz"
|
||||||
|
checksum=34b4ef7b8d5ce04ebb4ce685ce6a51656e7bd26f902796c2b4b904f54a97871f
|
||||||
|
|
||||||
|
cpp-utilities-devel_package() {
|
||||||
|
short_desc+=" - development files"
|
||||||
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
|
||||||
|
# Rename cmake modules to fit with the rest of the system
|
||||||
|
vmkdir usr/lib/cmake
|
||||||
|
cmake_source="${DESTDIR}/usr/share/c++utilities/cmake"
|
||||||
|
cmake_dest="${PKGDESTDIR}/usr/lib/cmake/c++utilities"
|
||||||
|
mv "$cmake_source" "$cmake_dest"
|
||||||
|
|
||||||
|
# Update cmake configuration to point to new location
|
||||||
|
vsed -i "${cmake_dest}/c++utilitiesConfig.cmake" \
|
||||||
|
-e "s@share/c++utilities/cmake@lib/cmake/c++utilities@g"
|
||||||
|
|
||||||
|
# The rest of share is just development-related stuff
|
||||||
|
vmove usr/share/c++utilities
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue