aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-27 13:47:40 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-27 21:27:33 +0000
commit14a0074a80b71d1179e7a1fa6cce52fec2a76f8a (patch)
treedbf183bf9313122f12881c17e88319a669aa3509
parentdcceafedf3726a7d6379d0c6b199439a4fe45bee (diff)
downloadaports-14a0074a80b71d1179e7a1fa6cce52fec2a76f8a.tar.gz
aports-14a0074a80b71d1179e7a1fa6cce52fec2a76f8a.tar.bz2
aports-14a0074a80b71d1179e7a1fa6cce52fec2a76f8a.tar.xz
community/darkice: modernize
-rw-r--r--community/darkice/APKBUILD12
1 files changed, 3 insertions, 9 deletions
diff --git a/community/darkice/APKBUILD b/community/darkice/APKBUILD
index 3a3a444e07..b19502e6fa 100644
--- a/community/darkice/APKBUILD
+++ b/community/darkice/APKBUILD
@@ -2,23 +2,18 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=darkice
pkgver=1.3
-pkgrel=0
+pkgrel=1
pkgdesc="Live audio streamer. Records audio from an audio interface, encodes it and sends it to a streaming server"
url="http://www.darkice.org/"
arch="all"
-license="GPL-3.0"
-depends=
+license="GPL-3.0-or-later"
makedepends="alsa-lib-dev faac-dev lame-dev libvorbis-dev"
-install=""
subpackages="$pkgname-doc"
-source="https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz
+source="https://sourceforge.net/projects/darkice/files/darkice/$pkgver/darkice-$pkgver.tar.gz
darkice.initd
darkice.confd"
-builddir=$srcdir/$pkgname-$pkgver
-
build() {
- cd "$builddir"
CPPFLAGS="$CPPFLAGS -fpermissive" \
./configure \
--build=$CBUILD \
@@ -31,7 +26,6 @@ build() {
}
package() {
mkdir -p "$pkgdir"/etc/$pkgname
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname