diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-11-06 07:55:11 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-11-06 07:55:11 +0000 |
commit | 6b09ce8b68b7c232a2353a993340113cabb4c713 (patch) | |
tree | 05201d47500cae4d44e46bfd9d868901a515c6b0 /main/icecast | |
parent | be1e550c4cd03288798c5ea30807b1e95d8cbee8 (diff) | |
download | aports-6b09ce8b68b7c232a2353a993340113cabb4c713.tar.bz2 aports-6b09ce8b68b7c232a2353a993340113cabb4c713.tar.xz |
main/iceacast: added -openrc subpackage, updated APKBUILD, added check()
Diffstat (limited to 'main/icecast')
-rw-r--r-- | main/icecast/APKBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/main/icecast/APKBUILD b/main/icecast/APKBUILD index be37fc095f..eac412882e 100644 --- a/main/icecast/APKBUILD +++ b/main/icecast/APKBUILD @@ -12,12 +12,11 @@ pkgdesc="Open source media server" url="http://www.icecast.org" arch="all" license="GPL" -depends="" install="$pkgname.pre-install" pkgusers="icecast" pkggroups="icecast" makedepends="libxslt-dev libxml2-dev libogg-dev libvorbis-dev libtheora-dev libressl-dev curl-dev" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-openrc" source="http://downloads.xiph.org/releases/$pkgname/$pkgname-$pkgver.tar.gz conf-change-owner.patch icecast.initd @@ -34,12 +33,15 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --with-curl \ - || return 1 - + --with-curl make } +check() { + cd $builddir + make check +} + package() { cd $builddir make DESTDIR="$pkgdir" install |