# Contributor: Carlo Landmeter # Maintainer: setvar pkgname = 'coturn' setvar pkgver = '4.5.0.6' setvar pkgrel = '0' setvar pkgdesc = ""Free open source implementation of TURN and STUN Server"" setvar url = ""https://github.com/coturn/coturn"" setvar arch = ""all"" setvar license = ""BSD-3-Clause"" setvar depends = """" setvar depends_dev = """" setvar makedepends = ""$depends_dev libressl-dev libevent-dev linux-headers sqlite-dev"" setvar pkgusers = "$pkgname" setvar pkggroups = "$pkgname" setvar install = ""$pkgname.pre-install"" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""coturn-$pkgver.tar.gz::https://github.com/coturn/coturn/archive/$pkgver.tar.gz turnserver.initd "" setvar builddir = ""$srcdir/coturn-$pkgver"" proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-rpath \ --sysconfdir=/etc/$pkgname \ --turndbdir=/var/lib/$pkgname make } proc package { cd $builddir make DESTDIR="$pkgdir" install install -Dm755 "$srcdir"/turnserver.initd \ "$pkgdir"/etc/init.d/turnserver } setvar sha512sums = ""4ad7d482af675033d050258e2af04b813561414d4ba926cfd336c6548200dbf1a90f9511983b8cad20713c7edff2a424c9d6b11d401717794e3d1af6b7ed9208 coturn-4.5.0.6.tar.gz e686dc752618b2da2f6127ab11c49767bfcf228edf458cefe2853093baa845adb2b3159e850db1721e7474c4938fb237dd12bdfd7fd4db2ee73fbd0cb19af17d turnserver.initd""