aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-03-31 09:06:25 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-03-31 09:06:25 +0000
commit090a955573541a0c1f81095bb58bc26d812edac8 (patch)
treeeddbb4196be8759de5f3fc08e6dbc4a25a951e2a /testing
parent438bcc536db8f25c6ef05b178944861512eccdaf (diff)
parent2570fe9291bbef13148ae2f6b013bb748603d5b9 (diff)
downloadaports-090a955573541a0c1f81095bb58bc26d812edac8.tar.bz2
aports-090a955573541a0c1f81095bb58bc26d812edac8.tar.xz
Merge branch 'master' of git://git.alpinelinux.org/fcolista/aports-fcolista
Diffstat (limited to 'testing')
-rw-r--r--testing/darkice/APKBUILD37
-rwxr-xr-xtesting/darkice/darkice.initd24
-rw-r--r--testing/ices/APKBUILD33
-rw-r--r--testing/ices2/APKBUILD19
4 files changed, 105 insertions, 8 deletions
diff --git a/testing/darkice/APKBUILD b/testing/darkice/APKBUILD
new file mode 100644
index 000000000..db32bd46d
--- /dev/null
+++ b/testing/darkice/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=darkice
+pkgver=1.0
+pkgrel=2
+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"
+
+_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
+}
+
+md5sums="1804e63d42a9703d01fe378c9a77c473 darkice-1.0.tar.gz
+01f20101740179a123442bb9dc6d1715 darkice.initd"
diff --git a/testing/darkice/darkice.initd b/testing/darkice/darkice.initd
new file mode 100755
index 000000000..f722c5214
--- /dev/null
+++ b/testing/darkice/darkice.initd
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+
+DARKICE_BIN="/usr/bin/darkice"
+DARKICE_OPTS="-c /etc/darkice/darkice.cfg"
+
+
+depend() {
+ need net
+ after firewall
+}
+
+start() {
+ ebegin "Starting DarkIce"
+ start-stop-daemon --start --quiet --background --exec $DARKICE_BIN \
+ -- $DARKICE_OPTS > /dev/null
+ eend $?
+}
+
+
+stop() {
+ ebegin "Stopping DarkIce"
+ start-stop-daemon --stop --exec $DARKICE_BIN
+ eend $?
+}
diff --git a/testing/ices/APKBUILD b/testing/ices/APKBUILD
new file mode 100644
index 000000000..51ec809eb
--- /dev/null
+++ b/testing/ices/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=ices
+pkgver=0.4
+pkgrel=0
+pkgdesc="Source client for broadcasting in MP3 format to an icecast2 server"
+url="http://icecast.org/ices.php"
+arch="all"
+license="GPL"
+depends=""
+depends_dev="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev lame-dev perl-dev python-dev libxml2-dev"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://downloads.us.xiph.org/releases/ices/$pkgname-$pkgver.tar.gz"
+_builddir=$srcdir/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --with-lame \
+ --with-vorbis \
+ --with-python \
+ --with-perl
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ install -m644 -D conf/$pkgname.conf.dist "$pkgdir"/etc/$pkgname/$pkgname.conf
+}
+
+md5sums="d31450c4011561dae0229f071cb41cb6 ices-0.4.tar.gz"
diff --git a/testing/ices2/APKBUILD b/testing/ices2/APKBUILD
index d37eb8196..154513999 100644
--- a/testing/ices2/APKBUILD
+++ b/testing/ices2/APKBUILD
@@ -1,31 +1,34 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer:
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=ices2
_pkgname=ices
pkgver=2.0.1
-pkgrel=0
+pkgrel=3
pkgdesc="source client for broadcasting in Ogg Vorbis format to an icecast2 server."
url="http://icecast.org/ices.php"
arch="all"
license="GPL"
depends=
-depends_dev="libogg-dev libxml2-dev libvorbis-dev libshout-dev"
+depends_dev="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://downloads.us.xiph.org/releases/ices/$_pkgname-$pkgver.tar.gz"
-
_builddir=$srcdir/$_pkgname-$pkgver
-
build() {
cd "$_builddir"
- ./configure --prefix=/usr
+ ./configure --prefix=/usr \
+ --disable-sun-audio \
+ --enable-alsa
make || return 1
}
-
package() {
cd "$_builddir"
+ mkdir -p "$pkgdir"/etc/$pkgname
make DESTDIR="$pkgdir" install || return 1
+ cd "$_builddir"/conf
+ for i in `ls *.xml`; do
+ install -m644 -D $i "$pkgdir"/etc/$pkgname/$i
+ done
}
-
md5sums="0d95ac34d59fed337028d5e7771076d8 ices-2.0.1.tar.gz"