blob: 1d7593295aa8f86ff4373a14d98b2d3e37277b34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=darkice
pkgver=1.2
pkgrel=1
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="GPL3"
depends=
makedepends="alsa-lib-dev faac-dev lame-dev libvorbis-dev"
install=""
subpackages="$pkgname-doc"
source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$pkgver.tar.gz
darkice.initd
darkice.confd"
_builddir=$srcdir/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
CPPFLAGS="$CPPFLAGS -fpermissive" \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc/darkice \
--without-aacplus \
--without-twolame \
|| return 1
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="de541ea95a73a50f2f5e700434c22329 darkice-1.2.tar.gz
4151d117598d5a349ae3a636059b7e11 darkice.initd
8aaa2212a0e6eff3922e0dba7fab4028 darkice.confd"
sha256sums="b3fba9be2d9c72f36b0659cd9ce0652c8f973b5c6498407f093da9a364fdb254 darkice-1.2.tar.gz
5c3bf239d7dbd6e3e5b35938d6f83b92e736ffbcb9dd092362329bc4f9917ef5 darkice.initd
3c2a970aafb6029c81640a13373c0df2473aba340b2761aa695bda49bb9c402e darkice.confd"
sha512sums="d8959819d70eb9b44a34d087fcf3897be5e4cb23681c049f8d88e251d83dfd86b90fdd37744fe27d861dfcbb6bb6e1521b48c5c7b4967bb061ede75596f0a823 darkice-1.2.tar.gz
743f4e24bf4bfa57a46f643dc000cd40f24e382e50c657bb6bb2a13492e337bbec5b1c03e0824046e30725737bdf81ce838bc61cd4b3b383b013e6bcad9475c6 darkice.initd
9491c3d0ff34750a60cec93eeaa7442714209fdb085e4d4d47a15b991850c861f0003d446d1a3205b452c9badc68b34beafd6c37798a3744098a3665f7f34f34 darkice.confd"
|