summaryrefslogtreecommitdiffstats
path: root/extra/live/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 20:47:46 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 20:47:46 +0200
commit8efc76285356ce6e4d8659e6495f483c324fd556 (patch)
tree9ff9e6faedd9773f869f658c5ef489622edab5d2 /extra/live/Pkgfile
parentb748f98f0683893285e69d9420ca408ca586547f (diff)
downloadnutyx-pakxe-8efc76285356ce6e4d8659e6495f483c324fd556.tar.gz
nutyx-pakxe-8efc76285356ce6e4d8659e6495f483c324fd556.tar.bz2
nutyx-pakxe-8efc76285356ce6e4d8659e6495f483c324fd556.tar.xz
nutyx-pakxe-8efc76285356ce6e4d8659e6495f483c324fd556.zip
Ajout de live#2009.07.28-1
Diffstat (limited to 'extra/live/Pkgfile')
-rw-r--r--extra/live/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/live/Pkgfile b/extra/live/Pkgfile
new file mode 100644
index 000000000..2ef3dee44
--- /dev/null
+++ b/extra/live/Pkgfile
@@ -0,0 +1,26 @@
+# 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:
+
+name=live
+version=2009.07.28
+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
+}