2017-04-04 09:30:20 +02:00
|
|
|
|
# Description: Multimedya akışı için bir dizi C ++ kütüphanesi
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.live555.com/liveMedia/
|
2017-04-04 09:30:20 +02:00
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
|
|
name=live
|
|
|
|
|
version=2014.07.04
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(http://downloads.nutyx.org/files/$name.$version.tar.gz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $SRC/live
|
|
|
|
|
|
|
|
|
|
sed \
|
|
|
|
|
-e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. -O2 -I. -fPIC -DRTSPCLIENT_SYNCHRONOUS_INTERFACE=1 -DSOCKLEN_T/g' \
|
|
|
|
|
-e 's/\(LIBRARY_LINK =\).*/\1 $(LD) -o/g' \
|
|
|
|
|
-e 's/\(LIBRARY_LINK_OPTS =\).*/\1 $(LINK_OPTS) -r -Bstatic/g' \
|
|
|
|
|
-i config.linux
|
|
|
|
|
./genMakefiles linux
|
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for dir in BasicUsageEnvironment groupsock liveMedia UsageEnvironment; do
|
|
|
|
|
install -dm755 $PKG/usr/{bin,lib,include/${dir}}
|
|
|
|
|
install -m644 ${dir}/*.a $PKG/usr/lib
|
|
|
|
|
install -m644 ${dir}/include/*.h* $PKG/usr/include/${dir}
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
for testprog in `find testProgs -type f -perm 755`; do
|
|
|
|
|
install ${testprog} $PKG/usr/bin
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|