summaryrefslogtreecommitdiffstats
path: root/opal/Pkgfile
blob: 697adb5dbc1071f9daa15161e0dbd15343765179 (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: Librairie pour ekiga
# URL: http://www.gnome.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libtheora, x264, ffmpeg, ptlib
# Run on: libtheora,x264,ffmpeg,ptlib

name=opal
version=3.10.1
release=1
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
	opal-3.10.1-ffmpeg0.8.patch
	opal-3.10.1-fix-link.patch)

build() {
	cd $name-$version
	patch -p0 < ../opal-3.10.1-ffmpeg0.8.patch
	patch -p0 < ../opal-3.10.1-fix-link.patch
	CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" \
	./configure --prefix=/usr\
		--sysconfdir=/etc \
		--localstatedir=/var/lib \
		--mandir=/usr/share/man

	make
	make DESTDIR=$PKG install
}