summaryrefslogtreecommitdiff
path: root/pcr/ortp-git
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-09 18:51:00 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-09 18:51:00 -0300
commit8f2f40cd008736f232a5eefac94c9821d47ae481 (patch)
tree4bc371186ca6e7552a8a2d7ca76010bde2422117 /pcr/ortp-git
parentf5d3eb248e0811e9383f569f9c7f60eda9dcb5ad (diff)
ortp-git: add new package to [pcr]
Diffstat (limited to 'pcr/ortp-git')
-rw-r--r--pcr/ortp-git/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
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 <emulatorman@parabola.nu>
+
+_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
+}