summaryrefslogtreecommitdiff
path: root/portsToCome/opal/Pkgfile
blob: ac376ad0c4f434e05342984743a61e79dba2ebd6 (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
# Description: Open Phone Abstraction Library
# URL: http://www.opalvoip.org/
# Maintainer: Erich Eckner, crux at eckner dot net
# Depends on: ptlib libtheora libx264 speex gsm celt ffmpeg x264

name=opal
version=3.16.2
_name='Procyon'
release=1
source=(https://sourceforge.net/projects/opalvoip/files/V${version%.*}%20${_name}/Stable%20${version##*.}/${name}-${version}.tar.bz2)

build() {
    cd $name-$version

    CXXFLAGS="$CXXFLAGS -fpermissive" \
        ./configure \
            --prefix=/usr \
            --sysconfdir=/etc \
            --mandir=/usr/share/man \
            --localstatedir=/var

    make
    make DESTDIR=$PKG install
}