aports/testing/ices/APKBUILD
2013-11-20 10:27:29 +00:00

40 lines
1.2 KiB
Plaintext

# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=ices
pkgver=0.4
pkgrel=3
pkgdesc="Source client for broadcasting in MP3 format to an icecast2 server"
url="http://icecast.org/ices.php"
arch="all"
license="GPL2+"
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 \
|| return 1
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"
sha256sums="6e71f7c2a5d7415565a3af4f4c688ada4915312714c74bb7567f2b4b6d183074 ices-0.4.tar.gz"
sha512sums="a66c811c4156b92efb615c6024477ae979cdca69701b44853bbd1e6c2696d0ddc618f9ee16b0c7c83591ee50b365210c17732c170dca5266d7cebe2bcd5767d3 ices-0.4.tar.gz"