2019-01-23 18:34:11 +00:00
|
|
|
# Template file for 'live555'
|
|
|
|
pkgname=live555
|
2019-02-06 21:08:42 +00:00
|
|
|
version=2019.02.03
|
2019-01-23 18:34:11 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc=live
|
|
|
|
build_style=gnu-makefile
|
|
|
|
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://www.live555.com/liveMedia/public/live.$version.tar.gz"
|
2019-02-06 21:08:42 +00:00
|
|
|
checksum=1c938d91553eff224c7a860f8f38b3256028704b474a3fc6bcf2eddc42268710
|
2019-01-23 18:34:11 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|