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
29
30
31
32
33
34
|
# Description: A streaming media server
# URL: http://www.flumotion.net
# Maintainer: William Rea <sillywilly@gmail.com>
# Packager: lesibel at free dot fr
# Depends on: gtk,pygtk,gst-python,gst-plugins-good,gst-plugins-base,pyopenssl,kiwi,twisted,gnome-vfs,pyxml
# Run on: gtk,pygtk,gst-python,gst-plugins-good,gst-plugins-base,pyopenssl,twisted,gnome-vfs,kiwi
name=flumotion
version=0.10.1
release=1
source=(http://www.flumotion.net/src/$name/$name-$version.tar.bz2)
build() {
cd $SRC/$name-$version
sed -i 's_candidate in python_candidate in python2_' configure
for file in $(find . -name '*.py' -print); do
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var
make
make DESTDIR=$PKG install
mkdir -p $PKG/etc/$name
cp -R conf/workers $PKG/etc/$name
cp -R conf/managers $PKG/etc/$name
cp conf/default.pem $PKG/etc/$name
}
|