summaryrefslogtreecommitdiffstats
path: root/base/live/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-03-03 15:41:19 +0100
committersibel <lesibel@free.fr>2011-03-03 15:41:19 +0100
commit5773694c7396af62c3767cd1193265f0395c2d48 (patch)
treeeba30217236b0bff50421b9f44ce6120b8d05301 /base/live/Pkgfile
parentac1d94db525fddbd161334d8a0006bfca0ac5518 (diff)
downloadnutyx-extra-5773694c7396af62c3767cd1193265f0395c2d48.tar.gz
nutyx-extra-5773694c7396af62c3767cd1193265f0395c2d48.tar.bz2
nutyx-extra-5773694c7396af62c3767cd1193265f0395c2d48.tar.xz
nutyx-extra-5773694c7396af62c3767cd1193265f0395c2d48.zip
live déplacé dans base
Diffstat (limited to 'base/live/Pkgfile')
-rw-r--r--base/live/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/base/live/Pkgfile b/base/live/Pkgfile
new file mode 100644
index 000000000..fa1471caa
--- /dev/null
+++ b/base/live/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Librairies C++ pour flux multimedia (RTP/RTCP, RTSP, SIP)
+# URL: http://www.live555.com/liveMedia/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+# Run on:
+
+name=live
+version=2010.06.22
+release=1
+source=(http://www.live555.com/liveMedia/public/${name}.$version.tar.gz)
+
+build() {
+ mkdir -p $PKG/usr/lib
+
+ cd $name
+ ./genMakefiles linux
+ make COMPILE_OPTS="-I. -O -DSOCKLEN_T=socklen_t -I../liveMedia/include -I../groupsock/include -I../UsageEnvironment/include -I.././BasicUsageEnvironment/include"
+ cd ..
+ cp -rf $name $PKG/usr/lib
+ rm -rf $PKG/usr/lib/$name/{README,COPYING,Makefile*,config*,gen*}
+ find $PKG -iname "*.cpp" -type "f" | xargs rm -rf
+ find $PKG -iname "COPYING" -type "f" | xargs rm -rf
+ find $PKG -iname "Makefile*" -type "f" | xargs rm -rf
+
+ chown -R root:root $PKG
+}
+