23 lines
708 B
Bash
23 lines
708 B
Bash
|
# 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 <ottomodinos@gmail.com>"
|
||
|
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
|
||
|
}
|