From 1bc984f4d3cbabf8f35928c40c16e450edfe10cc Mon Sep 17 00:00:00 2001 From: Otto Modinos Date: Wed, 22 May 2024 11:09:08 +0300 Subject: New package: socket_wrapper-1.4.2 --- srcpkgs/socket_wrapper/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/socket_wrapper/template diff --git a/srcpkgs/socket_wrapper/template b/srcpkgs/socket_wrapper/template new file mode 100644 index 00000000000..45d462668c5 --- /dev/null +++ b/srcpkgs/socket_wrapper/template @@ -0,0 +1,22 @@ +# Template file for 'socket_wrapper' +pkgname=socket_wrapper +version=1.4.2 +revision=1 +archs="~*-musl" # socket_wrapper redefines libc funcs, you can't do that on musl +build_style=cmake +hostmakedepends="pkg-config" +short_desc="Library for passing all socket communications through unix sockets" +maintainer="Otto Modinos " +license="BSD-3-Clause" +homepage="http://cwrap.org/socket_wrapper.html" +distfiles="https://download.samba.org/pub/cwrap/${pkgname}-${version}.tar.gz" +checksum=0a08ec249dd9ffbb3b16d577b352d573561f57beeec3596182ac6ec8e46b9ab6 + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DUNIT_TESTING=ON" + makedepends+=" cmocka-devel" +fi + +post_install() { + vlicense LICENSE +} -- cgit v1.2.3