Created
July 8, 2017 19:20
-
-
Save thrasibule/d4f8bb3777bf3d3fed54b270944fbb89 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $Id$ | |
# Contributor: Guillaume Horel <guillaume.horel@gmail.com> | |
# Contributor: Andrea Scarpino <andrea@archlinux.org> | |
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org> | |
# Contributor: William Rea <sillywilly@gmail.com> | |
pkgname=ortp-git | |
_pkgname=ortp | |
pkgver=1.0.1.r48.gb9e17f8 | |
pkgrel=1 | |
pkgdesc="A Real-time Transport Protocol (RTP) library" | |
arch=('i686' 'x86_64') | |
url="https://github.com/BelledonneCommunications/ortp" | |
license=('GPL3') | |
conflicts=('ortp') | |
provides=('ortp') | |
depends=('bctoolbox-git') | |
makedepends=('cmake') | |
source=("git+https://github.com/BelledonneCommunications/ortp.git") | |
sha256sums=('SKIP') | |
pkgver() { | |
cd "${srcdir}/${_pkgname}" | |
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/; s/-/./g' | |
} | |
build() { | |
cd ${_pkgname} | |
cmake -DCMAKE_INSTALL_PREFIX=/usr \ | |
-DCMAKE_INSTALL_LIBDIR=/usr/lib \ | |
-DENABLE_STATIC="NO" . | |
make | |
} | |
package() { | |
cd ${_pkgname} | |
make DESTDIR="${pkgdir}" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment