33 lines
919 B
Bash
33 lines
919 B
Bash
# Template file for 'wvstreams'
|
|
pkgname=wvstreams
|
|
version=4.6.1
|
|
revision=23
|
|
build_style=gnu-configure
|
|
configure_args="--without-dbus --without-tcl --without-qt"
|
|
makedepends="openssl-devel zlib-devel"
|
|
short_desc="Library for doing network in C++"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="LGPL-2.0-only"
|
|
homepage="https://code.google.com/p/wvstreams"
|
|
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.orig.tar.gz"
|
|
checksum=8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633
|
|
conf_files="/etc/uniconf.conf"
|
|
replaces="uniconf>=0"
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
|
makedepends+=" libxcrypt-devel"
|
|
fi
|
|
|
|
CXXFLAGS="-Wno-narrowing"
|
|
|
|
wvstreams-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|