void-packages/srcpkgs/live555/template
2021-03-05 21:57:21 +01:00

41 lines
1 KiB
Bash

# Template file for 'live555'
pkgname=live555
version=2020.08.11
revision=2
wrksrc=live
build_style=gnu-makefile
makedepends="openssl-devel"
short_desc="Set of C++ libraries for multimedia streaming"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-3.0-or-later"
homepage="http://www.live555.com/liveMedia/"
distfiles="http://download.videolan.org/contrib/live555/live.${version}.tar.gz"
checksum=7160854ceadfd4b3c033a069f8453625f1b91798b3668c5ac9ee04301cbece46
if [ "$CROSS_BUILD" ]; then
CXXFLAGS="-I. -Iinclude -I../UsageEnvironment/include\
-I../BasicUsageEnvironment/include\
-I../groupsock/include -I../liveMedia/include\
-DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1\
-D_FILE_OFFSET_BITS=64 -fPIC"
fi
pre_build() {
./genMakefiles linux-with-shared-libraries
}
live555-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
}
}
live555-progs_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
}
}