talimat 937 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Description: Multimedya akışı için bir dizi C ++ kütüphanesi
  2. # URL: http://www.live555.com/liveMedia/
  3. # Packager: milisarge
  4. # Depends on:
  5. name=live
  6. version=2014.07.04
  7. release=1
  8. source=(http://downloads.nutyx.org/files/$name.$version.tar.gz)
  9. build() {
  10. cd $SRC/live
  11. sed \
  12. -e 's/$(INCLUDES) -I. -O2 -DSOCKLEN_T/$(INCLUDES) -I. -O2 -I. -fPIC -DRTSPCLIENT_SYNCHRONOUS_INTERFACE=1 -DSOCKLEN_T/g' \
  13. -e 's/\(LIBRARY_LINK =\).*/\1 $(LD) -o/g' \
  14. -e 's/\(LIBRARY_LINK_OPTS =\).*/\1 $(LINK_OPTS) -r -Bstatic/g' \
  15. -i config.linux
  16. ./genMakefiles linux
  17. make
  18. for dir in BasicUsageEnvironment groupsock liveMedia UsageEnvironment; do
  19. install -dm755 $PKG/usr/{bin,lib,include/${dir}}
  20. install -m644 ${dir}/*.a $PKG/usr/lib
  21. install -m644 ${dir}/include/*.h* $PKG/usr/include/${dir}
  22. done
  23. for testprog in `find testProgs -type f -perm 755`; do
  24. install ${testprog} $PKG/usr/bin
  25. done
  26. }