core/linphone/PKGBUILD

44 lines
1.3 KiB
Bash
Raw Normal View History

#
# Platform Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
pkgname=linphone
2012-09-12 04:38:30 +08:00
pkgver=3.5.2
pkgrel=2
pkgdesc="A Voice-over-IP phone. CLI version only."
arch=('x86_64')
url="http://www.linphone.org/index.php/eng"
license=('GPL')
depends=('alsa-lib' 'ffmpeg' 'libexosip2' 'speex' 'libv4l' 'v4l-utils' 'libpulse' 'libxv' 'mediastreamer' 'ortp')
makedepends=('pkgconfig' 'perlxml' 'intltool')
optdepends=('pulseaudio')
options=('!libtool' '!emptydirs')
source=("http://download-mirror.savannah.gnu.org/releases/${pkgname}/${pkgver:0:3}.x/sources/${pkgname}-${pkgver}.tar.gz")
sha256sums=('da37d5e539e3f8aaa44039aa52ed032ef372e7481d1b3ce68317bf79aa8a6020')
build() {
2012-09-12 04:38:30 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
export PKG_CONFIG=/usr/bin/pkg-config
2012-09-12 04:38:30 +08:00
./configure --prefix=/usr \
--disable-static \
--enable-ipv6 \
--enable-video \
--enable-gtk_ui=no \
--enable-alsa \
--enable-pulseaudio \
--disable-artsc \
--disable-strict \
--libexecdir=/usr/lib/${pkgname} \
--enable-external-mediastreamer \
--enable-external-ortp
make
2012-09-12 04:38:30 +08:00
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}