# Contributor: Carlo Landmeter # Maintainer: setvar pkgname = 'shairport-sync' setvar pkgver = '3.1.2' setvar pkgrel = '0' setvar pkgdesc = ""AirTunes emulator. Shairport Sync adds multi-room capability with Audio Synchronisation"" setvar url = ""https://github.com/mikebrady/shairport-sync"" setvar arch = ""all"" setvar license = ""custom"" setvar depends = ""avahi"" setvar makedepends = ""autoconf automake libtool alsa-lib-dev libdaemon-dev popt-dev libressl-dev soxr-dev avahi-dev libconfig-dev"" setvar subpackages = ""$pkgname-doc"" setvar source = ""$pkgname-$pkgver.tar.gz::https://github.com/mikebrady/$pkgname/archive/$pkgver.tar.gz $pkgname.initd"" setvar builddir = ""$srcdir/$pkgname-$pkgver"" proc prepare { default_prepare cd $builddir autoreconf -i -f } proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --with-piddir=/run \ --with-alsa \ --with-avahi \ --with-ssl=openssl \ --with-soxr make } proc package { cd $builddir make DESTDIR="$pkgdir" install install -m 755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname } setvar sha512sums = ""7d1606c776352e00c2fe1c96cea556d489f7b7399519db8a1e2479a54d4a1ad4c4efc407f862699ace0b8500489669de5a5f1f3c5a2054901bd8cad44cda6141 shairport-sync-3.1.2.tar.gz aeead51ef0f17d360bb1e2d2ae897974ef507ef56db84e6aeb79d8ec522c3bb9336f01ff4150e70fecfebf9808dd7190cb2839e287cf0ef6e1886504c1f1edc6 shairport-sync.initd""