This commit is contained in:
parent
384246a69a
commit
78c898d901
3 changed files with 50 additions and 0 deletions
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# vcpkg
|
||||||
|
|
||||||
|
Vcpkg helps you manage C and C++ libraries.
|
11
files/vcpkg.sh
Normal file
11
files/vcpkg.sh
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
# vcpkg initialization
|
||||||
|
|
||||||
|
# Disable vcpkg telemetry by default.
|
||||||
|
if [ -z "$VCPKG_DISABLE_METRICS" ]; then
|
||||||
|
export VCPKG_DISABLE_METRICS="1"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Export the correct vcpkg root directory.
|
||||||
|
if [ -z "$VCPKG_ROOT" ]; then
|
||||||
|
export VCPKG_ROOT="$HOME/.vcpkg"
|
||||||
|
fi
|
36
package.yml
Normal file
36
package.yml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
name : vcpkg
|
||||||
|
version : 2024.07.10
|
||||||
|
release : 1
|
||||||
|
source :
|
||||||
|
- https://github.com/microsoft/vcpkg-tool/archive/refs/tags/2024-07-10.tar.gz : ead9c9b046962c3ed0bbd135db3746bbcbf776b7460731d4ef71c3bafeb3009a
|
||||||
|
homepage : https://vcpkg.io
|
||||||
|
license : GPL-2.0-or-later
|
||||||
|
component : programming.tools
|
||||||
|
summary : Vcpkg helps you manage C and C++ libraries.
|
||||||
|
description: |
|
||||||
|
Vcpkg helps you manage C and C++ libraries.
|
||||||
|
networking : yes
|
||||||
|
builddeps :
|
||||||
|
- pkgconfig(fmt)
|
||||||
|
- git
|
||||||
|
setup : |
|
||||||
|
%cmake_ninja \
|
||||||
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
|
-D CMAKE_INSTALL_PREFIX='/usr' \
|
||||||
|
-D CMAKE_SKIP_INSTALL_RPATH=ON \
|
||||||
|
-D VCPKG_DEVELOPMENT_WARNINGS=OFF \
|
||||||
|
-D VCPKG_DEPENDENCY_EXTERNAL_FMT=ON \
|
||||||
|
-D VCPKG_BASE_VERSION="2025.04.16" \
|
||||||
|
-D VCPKG_VERSION="ead9c9b046962c3ed0bbd135db3746bbcbf776b7460731d4ef71c3bafeb3009a" \
|
||||||
|
-D BUILD_TESTING=OFF \
|
||||||
|
-D VCPKG_WARNINGS_AS_ERRORS=OFF \
|
||||||
|
-D VCPKG_BUILD_TLS12_DOWNLOADER=OFF \
|
||||||
|
-D VCPKG_BUILD_FUZZING=OFF \
|
||||||
|
-D VCPKG_EMBED_GIT_SHA=OFF \
|
||||||
|
-D VCPKG_BUILD_BENCHMARKING=OFF \
|
||||||
|
-D VCPKG_ADD_SOURCELINK=OFF
|
||||||
|
build : |
|
||||||
|
%ninja_build
|
||||||
|
install : |
|
||||||
|
%ninja_install
|
||||||
|
install -vDm644 $pkgfiles/vcpkg.sh -t $installdir/etc/profile.d
|
Loading…
Add table
Add a link
Reference in a new issue