diff options
Diffstat (limited to 'main/darkice/APKBUILD')
-rw-r--r-- | main/darkice/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/darkice/APKBUILD b/main/darkice/APKBUILD new file mode 100644 index 000000000..004fd3fe2 --- /dev/null +++ b/main/darkice/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=darkice +pkgver=1.0 +pkgrel=5 +pkgdesc="Live audio streamer. Records audio from an audio interface, encodes it and sends it to a streaming server" +url="http://code.google.com/p/darkice/" +arch="all" +license="GPL" +depends= +depends_dev="alsa-lib-dev faac-dev lame-dev libvorbis-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://darkice.googlecode.com/files/$pkgname-$pkgver.tar.gz + darkice.initd + darkice.confd" +_builddir=$srcdir/$pkgname-$pkgver +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc/darkice \ + --without-aacplus \ + --without-twolame + make || return 1 +} +package() { + mkdir -p "$pkgdir"/etc/$pkgname + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname +} +md5sums="1804e63d42a9703d01fe378c9a77c473 darkice-1.0.tar.gz +9afe1b3d2046261d38814abc8304152b darkice.initd +8aaa2212a0e6eff3922e0dba7fab4028 darkice.confd" |