Skip to content
Snippets Groups Projects
Unverified Commit 89470d63 authored by Leo's avatar Leo Committed by TBK
Browse files

community/ices: modernize

Closes: GH-8051
parent b9697c83
No related branches found
No related tags found
No related merge requests found
...@@ -7,21 +7,18 @@ pkgdesc="Source client for broadcasting in MP3 format to an icecast2 server" ...@@ -7,21 +7,18 @@ pkgdesc="Source client for broadcasting in MP3 format to an icecast2 server"
url="http://icecast.org/ices.php" url="http://icecast.org/ices.php"
arch="all" arch="all"
license="GPL-2.0-or-later" license="GPL-2.0-or-later"
depends=""
makedepends="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev makedepends="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev
lame-dev perl-dev python2-dev libxml2-dev linux-headers" lame-dev perl-dev python2-dev linux-headers"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="http://downloads.us.xiph.org/releases/ices/$pkgname-$pkgver.tar.gz" source="http://downloads.us.xiph.org/releases/ices/$pkgname-$pkgver.tar.gz"
replaces="ices2" replaces="ices2"
builddir=$srcdir/$pkgname-$pkgver
prepare() { prepare() {
default_prepare || return 1 default_prepare
update_config_guess || return 1 update_config_guess
} }
build() { build() {
cd "$builddir"
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--datadir=/usr/share/doc/ \ --datadir=/usr/share/doc/ \
...@@ -29,15 +26,13 @@ build() { ...@@ -29,15 +26,13 @@ build() {
--with-lame \ --with-lame \
--with-vorbis \ --with-vorbis \
--with-python \ --with-python \
--with-perl \ --with-perl
|| return 1 make
make || return 1
} }
package() { package() {
cd "$builddir" make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install || return 1 make -C conf DESTDIR="$pkgdir" install
make -C conf DESTDIR="$pkgdir" install || return 1
} }
md5sums="d2f53320ebc7b468d0e0f8a3d2b70883 ices-2.0.2.tar.gz" md5sums="d2f53320ebc7b468d0e0f8a3d2b70883 ices-2.0.2.tar.gz"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment