diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-06-07 09:07:00 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-06-07 09:07:00 -0300 |
commit | 217518f0ff6feb1cf0b6a045395002c15ce32095 (patch) | |
tree | 02a52b27a0efa95dcaf104fc177afeb7a86acff0 /pcr/rfc5766-turn-server | |
parent | 9d30b19787f5d96698d0d478da9a91cddd4d0fbe (diff) | |
parent | fc7e49d04d3f1b8e84dbb6fb0cc76e417d362b4c (diff) | |
download | abslibre-217518f0ff6feb1cf0b6a045395002c15ce32095.tar.gz abslibre-217518f0ff6feb1cf0b6a045395002c15ce32095.tar.bz2 abslibre-217518f0ff6feb1cf0b6a045395002c15ce32095.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/rfc5766-turn-server')
-rw-r--r-- | pcr/rfc5766-turn-server/ChangeLog | 5 | ||||
-rw-r--r-- | pcr/rfc5766-turn-server/PKGBUILD | 61 |
2 files changed, 66 insertions, 0 deletions
diff --git a/pcr/rfc5766-turn-server/ChangeLog b/pcr/rfc5766-turn-server/ChangeLog new file mode 100644 index 000000000..5accefa5b --- /dev/null +++ b/pcr/rfc5766-turn-server/ChangeLog @@ -0,0 +1,5 @@ +2013-06-05 Vladimir Tsanev <tsachev@gamil.com> + + * 1.8.6.0-1 : + Initial package created. + diff --git a/pcr/rfc5766-turn-server/PKGBUILD b/pcr/rfc5766-turn-server/PKGBUILD new file mode 100644 index 000000000..81eb3d14d --- /dev/null +++ b/pcr/rfc5766-turn-server/PKGBUILD @@ -0,0 +1,61 @@ +# Maintainer: Vladimir Tsanev <tsachev@gmail.com> + +pkgname=rfc5766-turn-server +_portname=turnserver +pkgver=1.8.6.0 +pkgrel=1 +epoch= +pkgdesc="Free open source implementation of TURN and STUN Server" +arch=('i686' 'x86_64') +url="http://code.google.com/p/rfc5766-turn-server/" +license=('custom:BSDNew') +makedepends=('gcc>=3.4.4' 'make') +depends=('libevent') +#no redis headers in redi package +optdepends=('postgresql-client: to use postgresql' 'libmysqlclient') +backup=("etc/turnserver.conf" "etc/turnuserdb.conf") +changelog=ChangeLog +source=(https://${pkgname}.googlecode.com/files/${_portname}-$pkgver.tar.gz) +sha1sums=('155990b95d399542db1bb497f1746c1b9bb290d2') + +build() { + cd "${srcdir}/$_portname-${pkgver}" + + PREFIX=/usr \ + MANPREFIX=/usr/share \ + EXAMPLESDIR="/usr/share/$pkgname/examples" \ + DOCSDIR="/usr/share/doc/$pkgname" \ + LIBDIR=/usr/lib \ + SCHEMADIR="/usr/share/$pkgname" \ + TURNINCLUDEDIR="/usr/include/turn" + ./configure + + make +} + +check() { + cd "${srcdir}/$_portname-${pkgver}" + make check +} + +package() { + cd "${srcdir}/$_portname-${pkgver}" + make \ + PREFIX="$pkgdir/usr" \ + MANPREFIX="$pkgdir/usr/share" \ + EXAMPLESDIR="$pkgdir/usr/share/$pkgname/examples" \ + DOCSDIR="$pkgdir/usr/share/doc/$pkgname" \ + LIBDIR="$pkgdir/usr/lib" \ + SCHEMADIR="$pkgdir/usr/share/$pkgname" \ + TURNINCLUDEDIR="$pkgdir/usr/include/turn" \ + install + + + install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnserver.conf" "$pkgdir/etc/turnserver.conf" + install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnuserdb.conf" "$pkgdir/etc/turnuserdb.conf" + rm -r "$pkgdir/usr/etc" + + chmod 644 "$pkgdir/usr/lib/libturnclient.a" + + install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} |