summaryrefslogtreecommitdiffstats
path: root/base/live/Pkgfile
blob: e63e43ce1be238b2c919a0ba72d1deaa4ab5008e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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=2011.07.15a
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
}