New Templates (WIP): cpr, libloot, limo

This commit is contained in:
juandmcr committed 2026-11-13 02:46:07 +01:00
1 parent 89f433e2fd
commit 05cf11caaf
6 files changed
+82

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
# Template file for 'cpr'
pkgname=cpr
version=1.15.1
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DCPR_USE_SYSTEM_CURL=ON"
makedepends="libcurl-devel openssl-devel"
short_desc="C++ Requests HTTP client library"
maintainer="Juan Rojas <juandmcr@protonmail.com>"
license="MIT"
homepage="https://github.com/libcpr/cpr"
distfiles="https://github.com/libcpr/cpr/archive/refs/tags/${version}.tar.gz"
checksum=c2fc62a030c4ca5d7c3517e8068531297f938bf4ab52bf951d4fc9bbc9222716
post_install() { vlicense LICENSE; }
cpr-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include/cpr
vmove usr/lib/cmake/cpr
vmove "usr/lib/*.so"
}
}