diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-01 08:45:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-07 16:46:17 +0000 |
commit | 05f5223c2f176c10a2157a52f638790c0cb1b591 (patch) | |
tree | c84e701d8553f7cb1294c14d0c36cf8cfdb12051 /community/minidlna | |
parent | 78d1d0ff56111fdef351e759c6e8a0f4d2585039 (diff) | |
download | aports-05f5223c2f176c10a2157a52f638790c0cb1b591.tar.bz2 aports-05f5223c2f176c10a2157a52f638790c0cb1b591.tar.xz |
community/minidlna: modernize, rebuild against ffmpeg 4
Diffstat (limited to 'community/minidlna')
-rw-r--r-- | community/minidlna/APKBUILD | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/community/minidlna/APKBUILD b/community/minidlna/APKBUILD index eafbf0867c..ced9db5209 100644 --- a/community/minidlna/APKBUILD +++ b/community/minidlna/APKBUILD @@ -7,8 +7,6 @@ pkgdesc="A small dlna server" url="https://sourceforge.net/projects/minidlna/" arch="all" license="GPL" -depends= -options="!check" makedepends=" bsd-compat-headers libvorbis-dev @@ -39,27 +37,31 @@ build() { --prefix=/usr \ --with-os-name="Alpine Linux" \ --with-db-path=/var/lib/minidlna \ - --with-log-path=/var/log/minidlna \ - || return 1 - make || return 1 + --with-log-path=/var/log/minidlna + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -dm750 -o $pkgusers -g $pkggroups \ "$pkgdir/var/lib/$pkgname" \ - "$pkgdir/var/log/$pkgname" || return 1 + "$pkgdir/var/log/$pkgname" install -m755 -D "$srcdir/$pkgname.initd" \ - "$pkgdir/etc/init.d/$pkgname" || return 1 + "$pkgdir/etc/init.d/$pkgname" install -m644 -D "$srcdir/$pkgname.confd" \ - "$pkgdir/etc/conf.d/$pkgname" || return 1 + "$pkgdir/etc/conf.d/$pkgname" install -m644 -D "$pkgname.conf" \ - "$pkgdir"/etc/$pkgname.conf || return 1 + "$pkgdir"/etc/$pkgname.conf install -Dm644 "$srcdir"/$pkgname-$pkgver/minidlna.conf.5 \ - "$pkgdir"/usr/share/man/man5/minidlna.conf.5 || return 1 + "$pkgdir"/usr/share/man/man5/minidlna.conf.5 install -Dm644 "$srcdir"/$pkgname-$pkgver/minidlnad.8 \ - "$pkgdir"/usr/share/man/man8/minidlnad.8 || return 1 + "$pkgdir"/usr/share/man/man8/minidlnad.8 } sha512sums="17827155bfbfd2b51939bc86080e8724dcded138af8fede9c7715c225524e86d3c21bfd8d40dbf201861ef154189d9c5e223b719bf7695251212b26ec290462b minidlna-1.2.1.tar.gz |