aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ices2
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2011-03-17 08:39:12 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2011-03-17 08:39:12 +0000
commit07bee295f1067e473190dbdd673f90642d47a97f (patch)
tree7fe943d1f71c43b71611afeb52c3b30b8c44338c /testing/ices2
parentb011c6968562d203256ee5c8320ffbdca8cb0dcf (diff)
downloadaports-07bee295f1067e473190dbdd673f90642d47a97f.tar.bz2
aports-07bee295f1067e473190dbdd673f90642d47a97f.tar.xz
testing/ices2 : added conf file
Diffstat (limited to 'testing/ices2')
-rw-r--r--testing/ices2/APKBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/testing/ices2/APKBUILD b/testing/ices2/APKBUILD
index d9279e1119..2617f446d3 100644
--- a/testing/ices2/APKBUILD
+++ b/testing/ices2/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer:
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=ices2
_pkgname=ices
pkgver=2.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="source client for broadcasting in Ogg Vorbis format to an icecast2 server."
url="http://icecast.org/ices.php"
arch="all"
@@ -14,19 +14,20 @@ 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 \
--disable-sun-audio
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"