From 8f2f40cd008736f232a5eefac94c9821d47ae481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Tue, 9 Aug 2016 18:51:00 -0300 Subject: ortp-git: add new package to [pcr] --- pcr/ortp-git/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pcr/ortp-git/PKGBUILD (limited to 'pcr/ortp-git') diff --git a/pcr/ortp-git/PKGBUILD b/pcr/ortp-git/PKGBUILD new file mode 100644 index 000000000..5b5d618e3 --- /dev/null +++ b/pcr/ortp-git/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: André Silva + +_pkgname=ortp +pkgname=ortp-git +pkgver=r1667.14894ff +pkgrel=1 +pkgdesc="A Real-time Transport Protocol (RTP) library" +arch=('i686' 'x86_64') +url="https://github.com/BelledonneCommunications/ortp" +license=('LGPL2.1') +makedepends=('git') +depends=('glibc' 'bcunit-git' 'bctoolbox-git') +conflicts=("${_pkgname}") +provides=("${_pkgname}") +source=("${_pkgname}-${pkgver}::git+https://github.com/BelledonneCommunications/ortp#branch=master") +sha256sums=('SKIP') + +pkgver() { + cd $_pkgname-$pkgver + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + cd $_pkgname-$pkgver + ./autogen.sh +} + +build() { + cd $_pkgname-$pkgver + ./configure --prefix=/usr \ + --disable-strict + make +} + +package() { + cd $_pkgname-$pkgver + make DESTDIR="${pkgdir}" install +} -- cgit v1.2.3-2-g168b