rtmpdump: add gnutls build_option
rtmpdump doesn't build with OpenSSL-1.1
This commit is contained in:
parent
2d56c40d8f
commit
794bcb40c1
|
@ -4,7 +4,7 @@ version=2.4.20161210
|
|||
revision=8
|
||||
_patchlevel=${version##*.}
|
||||
create_wrksrc=yes
|
||||
makedepends="zlib-devel libressl-devel"
|
||||
makedepends="zlib-devel $(vopt_if gnutls 'gnutls-devel' 'libressl-devel')"
|
||||
short_desc="Toolkit for RTMP streams"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="GPL-2, LGPL-2.1"
|
||||
|
@ -17,8 +17,10 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
*-musl) CFLAGS+=" -D__LINUX_NETFILTER_H"
|
||||
esac
|
||||
|
||||
build_options="gnutls"
|
||||
|
||||
do_build() {
|
||||
make CC="$CC" OPT="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
|
||||
make CC="$CC" OPT="$CFLAGS" LDFLAGS="$LDFLAGS" "$(vopt_if gnutls 'CRYPTO=GNUTLS' 'CRYPTO=OPENSSL')" ${makejobs}
|
||||
}
|
||||
do_install() {
|
||||
vmkdir usr/lib
|
||||
|
|
Loading…
Reference in New Issue